net: punt bd->bi_ip_addr
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 Apr 2012 18:53:40 +0000 (18:53 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 15 May 2012 22:32:05 +0000 (17:32 -0500)
commit50a47d0523e8efebe912bef539a77ffd42116451
tree4501fa8c08405a3d9595a252df1ce725e27f3a0b
parente1902ac698194fdf20b473bd2d9c592c45554b72
net: punt bd->bi_ip_addr

This field gets read in one place (by "bdinfo"), and we can replace
that with getenv("ipaddr").  After all, the bi_ip_addr field is kept
up-to-date implicitly with the value of the ipaddr env var.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
33 files changed:
arch/arm/include/asm/u-boot.h
arch/arm/lib/board.c
arch/avr32/include/asm/u-boot.h
arch/avr32/lib/board.c
arch/blackfin/include/asm/u-boot.h
arch/blackfin/lib/board.c
arch/m68k/include/asm/u-boot.h
arch/m68k/lib/board.c
arch/microblaze/include/asm/u-boot.h
arch/microblaze/lib/board.c
arch/mips/include/asm/u-boot.h
arch/mips/lib/board.c
arch/nds32/include/asm/u-boot.h
arch/nds32/lib/board.c
arch/nios2/include/asm/u-boot.h
arch/nios2/lib/board.c
arch/openrisc/include/asm/u-boot.h
arch/powerpc/include/asm/u-boot.h
arch/powerpc/lib/board.c
arch/sandbox/include/asm/u-boot.h
arch/sandbox/lib/board.c
arch/sh/include/asm/u-boot.h
arch/sh/lib/board.c
arch/sparc/include/asm/u-boot.h
arch/sparc/lib/board.c
arch/x86/include/asm/init_helpers.h
arch/x86/include/asm/u-boot.h
arch/x86/lib/board.c
arch/x86/lib/init_helpers.c
board/esd/cpci405/cpci405.c
common/cmd_bdinfo.c
common/cmd_nvedit.c
net/net.c