[U-Boot] [PATCH 3/3] microblaze: Wire up OF support for emaclite
Stephan Linz
linz at li-pro.net
Wed Jul 4 22:25:31 CEST 2012
- expand the condition with CONFIG_OF_CONTROL
Signed-off-by: Stephan Linz <linz at li-pro.net>
---
include/configs/microblaze-generic.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 386189f..01e3421 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -79,7 +79,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
--
1.7.0.4
More information about the U-Boot
mailing list