[U-Boot] [PATCH v2] Make getenv_IPaddr() global

Ben Warren biggerbadderben at gmail.com
Thu Jan 7 19:31:27 CET 2010


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 <dirk.behme at googlemail.com>
>   
Acked-by: Ben Warren <biggerbadderben at gmail.com>

Wolfgang - please apply if you're OK with it.


More information about the U-Boot mailing list