Patchwork [U-Boot] OMAP4: SDP4430: Disable CMD_NFS

login
register
mail settings
Submitter Dirk Behme
Date Nov. 28, 2010, 6:05 p.m.
Message ID <1290967506-19890-1-git-send-email-dirk.behme@gmail.com>
Download mbox | patch
Permalink /patch/73346/
State Accepted
Commit 35cf884de2557461df0042f35d3bcc187e629545
Headers show

Comments

Dirk Behme - Nov. 28, 2010, 6:05 p.m.
From: Dirk Behme <dirk.behme@googlemail.com>

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.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>

---

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(+)

Patch

Index: u-boot.git/include/configs/omap4_sdp4430.h
===================================================================
--- u-boot.git.orig/include/configs/omap4_sdp4430.h
+++ 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        */