diff options
author | Markus Klotzbücher <Markus Klotzbümk@pollux.(none)> | 2006-02-10 16:08:26 (GMT) |
---|---|---|
committer | Markus Klotzbücher <mk@pollux.(none)> | 2006-02-10 16:08:26 (GMT) |
commit | 6ece03f2677df79a983877fff8be737d8888f26b (patch) | |
tree | 2d3db853f465567c3f0186106a06ad464e61e0cf /include | |
parent | b2b43463af8e39ea57bca95bcb24d64e12bbd510 (diff) | |
download | u-boot-6ece03f2677df79a983877fff8be737d8888f26b.tar.xz |
Config updated for compiling the SMC911111 network driver
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/zylonite.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/include/configs/zylonite.h b/include/configs/zylonite.h index c5fb076..f23300d 100644 --- a/include/configs/zylonite.h +++ b/include/configs/zylonite.h @@ -55,8 +55,15 @@ /* * Hardware drivers */ -/* #define CONFIG_DRIVER_LAN91C96 */ -/* #define CONFIG_LAN91C96_BASE 0x0C000000 */ + +#undef TURN_ON_ETHERNET +#ifdef TURN_ON_ETHERNET +# define CONFIG_DRIVER_SMC91111 1 +# define CONFIG_SMC91111_BASE 0x14000300 +# define CONFIG_SMC91111_EXT_PHY +# define CONFIG_SMC_USE_32_BIT +# undef CONFIG_SMC_USE_IOFUNCS +#endif /* * select serial console configuration @@ -68,8 +75,13 @@ #define CONFIG_BAUDRATE 115200 -/* #define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_MMC | CFG_CMD_FAT) */ -#define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_REISER & ~CFG_CMD_NET) +/* #define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_MMC | CFG_CMD_FAT) */ +#ifdef TURN_ON_ETHERNET +# define CONFIG_COMMANDS (CONFIG_CMD_DFL) +#else +# define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_NET) +#endif + /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ #include <cmd_confdefs.h> @@ -218,7 +230,7 @@ * second sector, not an environment. You have been warned! */ #define CFG_MONITOR_LEN PHYS_FLASH_SECT_SIZE -#define CFG_ENV_IS_IN_FLASH 1 +#undef CFG_ENV_IS_IN_FLASH #define CFG_ENV_ADDR (PHYS_FLASH_1 + PHYS_FLASH_SECT_SIZE) #define CFG_ENV_SECT_SIZE PHYS_FLASH_SECT_SIZE #define CFG_ENV_SIZE (PHYS_FLASH_SECT_SIZE / 16) |