[U-Boot] [PATCH] net: move bootfile/ipaddr init into eth_initialize
Mike Frysinger
vapier at gentoo.org
Mon Jan 16 20:59:38 CET 2012
On Monday 16 January 2012 06:18:26 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > > The code which you remove here does NOT depend on CONFIG_CMD_NET;
> > > note that this is intentional.
> >
> > i noticed that, however, i'm not sure it matters. i can't find any place
> > in u- boot that actually reads this variable.
>
> For example, the "bdinfo" command prints it; see common/cmd_bdinfo.c
which i documented as the *only* place where the member gets read:
common/cmd_bdinfo.c: the value of bi_ip_addr gets displayed
and that would be absolutely trivial to replace with getenv("ipaddr")
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120116/dd8d8390/attachment.pgp>
More information about the U-Boot
mailing list