microblaze: Wire up OF support for emaclite
authorStephan Linz <[email protected]>
Wed, 4 Jul 2012 20:25:31 +0000 (22:25 +0200)
committerMichal Simek <[email protected]>
Tue, 6 May 2014 11:32:30 +0000 (13:32 +0200)
 - expand the condition with CONFIG_OF_CONTROL

Signed-off-by: Stephan Linz <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
include/configs/microblaze-generic.h

index 486787e1479694b9c52c94084afc1c71eb3eb449..06b7e94184e74dc7bcea12a461308fa6fcf9bfd2 100644 (file)
@@ -71,7 +71,7 @@
 
 /* ethernet */
 #undef CONFIG_SYS_ENET
-#if defined(XILINX_EMACLITE_BASEADDR)
+#if defined(XILINX_EMACLITE_BASEADDR) || defined(CONFIG_OF_CONTROL)
 # define CONFIG_XILINX_EMACLITE        1
 # define CONFIG_SYS_ENET
 #endif