Skip to contentSkip to conversation

OMAP4: SDP4430: Disable CMD_NFS

U-Boot Dirk Behme 1 participant 1 message Nov 28, 2010

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

From: Dirk Behme <[email protected]>

This patch fixes the SDB4430 build after commit 6d8962e814c15807dd6ac5757904be2a02d187b8 by explicitly disabling CMD_NFS.

From the commit message for "Switch from archive libraries to partial linking":

This commit reveals board configurations that exclude some features but include source files that depend these disabled features in the build, resulting in undefined symbols. Known such cases include:

- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

---

This fix is identical to what was done for Panda:

http://git.denx.de/?p=u-boot.git;a=commitdiff;h=8721e95b16024f0a92ccc1cd85aecf6672fe9499

 include/configs/omap4_sdp4430.h |    1 +
 1 file changed, 1 insertion(+)
include/configs/omap4_sdp4430.h +1 -0
Index: u-boot.git/include/configs/omap4_sdp4430.h
===================================================================
@@ -139,6 +139,7 @@
 
 /* Disabled commands */
 #undef CONFIG_CMD_NET
+#undef CONFIG_CMD_NFS
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support   */
 #undef CONFIG_CMD_IMLS		/* List all found images        */