Patchwork [U-Boot,1/8] microblaze: Do not select NFS for platforms without ethernet

login
register
mail settings
Submitter Michal Simek
Date Aug. 31, 2011, 10:57 a.m.
Message ID <1314788276-26107-2-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/112528/
State Accepted
Delegated to: Michal Simek
Headers show

Comments

Michal Simek - Aug. 31, 2011, 10:57 a.m.
Undefined network functionality for systems without ethernet
and disable NFS support.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 include/configs/microblaze-generic.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 8243f8d..0c7c294 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -62,6 +62,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
@@ -245,6 +246,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