Config updated for compiling the SMC911111 network driver
authorMarkus Klotzbücher <Markus Klotzbümk@pollux.(none)>
Fri, 10 Feb 2006 16:08:26 +0000 (17:08 +0100)
committerMarkus Klotzbücher <mk@pollux.(none)>
Fri, 10 Feb 2006 16:08:26 +0000 (17:08 +0100)
include/configs/zylonite.h

index c5fb07654b6dbbaaf3672ef1c83a280bffe2379a..f23300d004b63163c78ccd5576c395fe81ad1c3c 100644 (file)
 /*
  * 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
 
 #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>
  * 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)