]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Enable axi emac via Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Dec 2015 15:54:42 +0000 (16:54 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:53 +0000 (15:55 +0100)
Enable driver by default for all platforms.

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

index 325c1bb44c809945d2af3e43c37c9f91f53cfa4a..047ed1765e850c0d87567b341fe21de238f2f49d 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM_ETH=y
+CONFIG_XILINX_AXIEMAC=y
 CONFIG_XILINX_EMACLITE=y
 CONFIG_SYS_NS16550=y
 CONFIG_XILINX_UARTLITE=y
index 004826e03835ac071452a774e0067f988013f24a..45a981bf48d502b52a621ac91899a103ff45ac52 100644 (file)
 
 /* ethernet */
 #undef CONFIG_SYS_ENET
-#if defined(CONFIG_XILINX_EMACLITE)
-# define CONFIG_SYS_ENET
-#endif
-#if defined(XILINX_AXIEMAC_BASEADDR)
-# define CONFIG_XILINX_AXIEMAC 1
+#if defined(CONFIG_XILINX_EMACLITE) || defined(CONFIG_XILINX_AXIEMAC)
 # define CONFIG_SYS_ENET
 #endif