From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 07 Jan 2010 10:31:27 -0800 Subject: [U-Boot] [PATCH v2] Make getenv_IPaddr() global In-Reply-To: <1262504038-21479-1-git-send-email-dirk.behme@googlemail.com> References: <1262504038-21479-1-git-send-email-dirk.behme@googlemail.com> Message-ID: <4B46287F.6080503@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 Dirk Behme wrote: > There are boards out there that do not have network support in > U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This > makes it desirable to be able to port network configuration (like > the IP address) to the Linux kernel. > > We should not make the passing of the IP configuration to Linux > dependent on U-Boot features / settings. > > For this, make getenv_IPaddr() global. This fixes build error > > u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr' > > on various architectures. > > Signed-off-by: Dirk Behme > Acked-by: Ben Warren Wolfgang - please apply if you're OK with it.