From: Michal Simek <monstr@monstr.eu>
Date: Mon, 28 Feb 2011 09:16:09 +0000 (+0100)
Subject: microblaze: Do not select NFS for platforms without ethernet
X-Git-Tag: v2025.01-rc5-pxa1908~18891^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B?a=commitdiff_plain;h=1252df065998d56cc57c387b64eb96f695b6ce63;p=u-boot.git

microblaze: Do not select NFS for platforms without ethernet

Undefined network functionality for systems without ethernet
and disable NFS support.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 090ab3bc2e..8cdd72a843 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -60,6 +60,7 @@
 /*#define	CONFIG_SYS_RESET_ADDRESS	CONFIG_SYS_TEXT_BASE*/
 
 /* ethernet */
+#undef CONFIG_SYS_ENET
 #ifdef XILINX_EMACLITE_BASEADDR
 # define CONFIG_XILINX_EMACLITE		1
 # define CONFIG_SYS_ENET
@@ -243,6 +244,7 @@
 #ifndef CONFIG_SYS_ENET
 # undef CONFIG_CMD_NET
 # undef CONFIG_NET_MULTI
+# undef CONFIG_CMD_NFS
 #else
 # define CONFIG_CMD_PING
 # define CONFIG_CMD_DHCP