summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Linz <linz@li-pro.net>2012-07-04 22:25:31 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-05-06 13:32:30 +0200
commitd1d37b5cab119096bb60c686eff7ea39cfebed25 (patch)
treea4f8284835f3ec7ffee7a01d1ff16f6d15337f9c
parent52fded7b94d98c73a824e4a9d90596a33a1cbb8a (diff)
downloadu-boot-imx-d1d37b5cab119096bb60c686eff7ea39cfebed25.zip
u-boot-imx-d1d37b5cab119096bb60c686eff7ea39cfebed25.tar.gz
u-boot-imx-d1d37b5cab119096bb60c686eff7ea39cfebed25.tar.bz2
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>
-rw-r--r--include/configs/microblaze-generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 486787e..06b7e94 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -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