From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Fri, 08 Jan 2010 13:37:32 -0800 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: <4B47A59C.6090405@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Albert, Albert Aribaud wrote: > 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. > There's already been quite a bit of discussion about this, and another fix is in the queue: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/73200/match=getenv_IPaddr Correct me if it doesn't fix your problem. regards, Ben