Skip to content
Snippets Groups Projects
Commit 6a45e384 authored by Dirk Behme's avatar Dirk Behme Committed by Wolfgang Denk
Browse files

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: default avatarDirk Behme <dirk.behme@googlemail.com>
Acked-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 27405448
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment