From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 08 Jan 2010 22:26:24 +0100 Subject: [U-Boot] [PATCH] Call gentenv_IPaddr only if CONFIG_CMD_NET set In-Reply-To: <1262985580-18163-1-git-send-email-albert.aribaud@free.fr> References: <1262985580-18163-1-git-send-email-albert.aribaud@free.fr> Message-ID: <4B47A300.4030509@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Albert Aribaud a ?crit : > ARM Boards for which CONFIG_CMD_NET is unset still > call getenv_IPaddr from lib_arm/board.c even though > net/net.c (which defines gentenv_IPaddr) will not > be compiled and linked. This patch fixes this by > making the call conditional to CONFIG_CMD_NET. > > Signed-off-by: Albert Aribaud Regarding this fix I have a SCM related question: I was hit by this problem while preparing my Orion 5x patch for final submission (strangely enough I was not hit before even though I never had CONFIG_CMD_NET set). This means my Orion patches will depend on this one (but I felt I should submit it separately as it was totally unrelated to Orion/Ed Mini support). Can I submit the Orion patches and just mention the dependency? Or do I also do the fix in my Orion patches and let GIT sort things out? Amicalement, -- Albert.