]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Make getenv_IPaddr() global
authorDirk Behme <dirk.behme@googlemail.com>
Sun, 3 Jan 2010 07:33:58 +0000 (08:33 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 19:14:47 +0000 (20:14 +0100)
commit6a45e384955262882375a2785426dc65aeb636c4
treea1648daf66d4be1d71427f8e2f35123180f9de04
parent2740544881f652566756815dda4da0bcd946e9de
Make getenv_IPaddr() global

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 <dirk.behme@googlemail.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
include/common.h
include/net.h
lib_generic/Makefile
lib_generic/net_utils.c [new file with mode: 0644]
net/net.c