microblaze: Move eth configuration to Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Fri, 11 Dec 2015 09:27:57 +0000 (10:27 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:53 +0000 (15:55 +0100)
Cleanup board specific file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/microblaze-generic_defconfig
include/configs/microblaze-generic.h

index 047ed1765e850c0d87567b341fe21de238f2f49d..ebd88abdccb5da311a29c04c6a1c2b0cc0a22de7 100644 (file)
@@ -8,6 +8,9 @@ CONFIG_SPL=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_PING=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM_ETH=y
index 45a981bf48d502b52a621ac91899a103ff45ac52..327f95bb8b78d8ba65d02fdc106b98d555093d92 100644 (file)
 /* setting reset address */
 /*#define      CONFIG_SYS_RESET_ADDRESS        CONFIG_SYS_TEXT_BASE*/
 
-/* ethernet */
-#undef CONFIG_SYS_ENET
-#if defined(CONFIG_XILINX_EMACLITE) || defined(CONFIG_XILINX_AXIEMAC)
-# define CONFIG_SYS_ENET
-#endif
-
-#undef ET_DEBUG
-
 /* gpio */
 #ifdef XILINX_GPIO_BASEADDR
 # define CONFIG_XILINX_GPIO
 # undef CONFIG_CMD_CACHE
 #endif
 
-#ifdef CONFIG_SYS_ENET
-# define CONFIG_CMD_PING
-# define CONFIG_CMD_DHCP
-# define CONFIG_CMD_TFTPPUT
-#endif
-
 #if defined(CONFIG_SYSTEMACE)
 # define CONFIG_CMD_EXT2
 # define CONFIG_CMD_FAT