microblaze: Wire up OF support for emaclite

- expand the condition with CONFIG_OF_CONTROL

Signed-off-by: Stephan Linz <linz@li-pro.net>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Stephan Linz 2012-07-04 22:25:31 +02:00 committed by Michal Simek
parent 52fded7b94
commit d1d37b5cab

View File

@ -71,7 +71,7 @@
/* ethernet */ /* ethernet */
#undef CONFIG_SYS_ENET #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_XILINX_EMACLITE 1
# define CONFIG_SYS_ENET # define CONFIG_SYS_ENET
#endif #endif