From: Stephan Linz <linz@li-pro.net>
Date: Wed, 4 Jul 2012 20:25:31 +0000 (+0200)
Subject: microblaze: Wire up OF support for emaclite
X-Git-Tag: v2025.01-rc5-pxa1908~15365^2
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=d1d37b5cab119096bb60c686eff7ea39cfebed25;p=u-boot.git

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>
---

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 486787e147..06b7e94184 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