From cbd8a35c6dbaaca35494cbec319960887ad02dcf Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 24 Feb 2004 02:00:03 +0000 Subject: * Patch by Masami Komiy, 22 Feb 2004: Add support for NFS for file download * Minor code cleanup --- cpu/mpc5xxx/config.mk | 2 +- cpu/mpc5xxx/cpu_init.c | 2 +- cpu/mpc5xxx/fec.c | 4 ++-- cpu/mpc5xxx/start.S | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cpu/mpc5xxx') diff --git a/cpu/mpc5xxx/config.mk b/cpu/mpc5xxx/config.mk index 0bee6d1347..ecd94e9b34 100644 --- a/cpu/mpc5xxx/config.mk +++ b/cpu/mpc5xxx/config.mk @@ -23,5 +23,5 @@ PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -PLATFORM_CPPFLAGS += -DCONFIG_MPC5XXX -ffixed-r2 -ffixed-r29 \ +PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 \ -mstring -mcpu=603e -mmultiple diff --git a/cpu/mpc5xxx/cpu_init.c b/cpu/mpc5xxx/cpu_init.c index c23d621ec0..ce562c1728 100644 --- a/cpu/mpc5xxx/cpu_init.c +++ b/cpu/mpc5xxx/cpu_init.c @@ -183,7 +183,7 @@ int cpu_init_r (void) /* route critical ints to normal ints */ *(vu_long *)MPC5XXX_ICTL_EXT |= 0x00000001; -#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_MPC5XXX_FEC) +#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_MPC5xxx_FEC) /* load FEC microcode */ loadtask(0, 2); #endif diff --git a/cpu/mpc5xxx/fec.c b/cpu/mpc5xxx/fec.c index e48fa88b5d..04e8001dfe 100644 --- a/cpu/mpc5xxx/fec.c +++ b/cpu/mpc5xxx/fec.c @@ -17,7 +17,7 @@ /* #define DEBUG 0x28 */ #if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) && \ - defined(CONFIG_MPC5XXX_FEC) + defined(CONFIG_MPC5xxx_FEC) #if (DEBUG & 0x60) static void tfifo_print(mpc5xxx_fec_priv *fec); @@ -980,4 +980,4 @@ static uint32 local_crc32(char *string, unsigned int crc_value, int len) } #endif /* DEBUG */ -#endif /* CONFIG_MPC5XXX_FEC */ +#endif /* CONFIG_MPC5xxx_FEC */ diff --git a/cpu/mpc5xxx/start.S b/cpu/mpc5xxx/start.S index 6f0b269b46..a1631f49a4 100644 --- a/cpu/mpc5xxx/start.S +++ b/cpu/mpc5xxx/start.S @@ -29,7 +29,7 @@ #include #include -#define CONFIG_MPC5XXX 1 /* needed for Linux kernel header files */ +#define CONFIG_MPC5xxx 1 /* needed for Linux kernel header files */ #define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include -- cgit v1.2.3