[U-Boot] [PATCH 1/2 v2] net: punt bd->bi_ip_addr

Joe Hershberger joe.hershberger at gmail.com
Wed May 16 01:00:38 CEST 2012


Hi Mike,

On Wed, Apr 4, 2012 at 11:53 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> 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 at gentoo.org>
> ---
> v2
>        - rebased onto mainline
>
>  arch/arm/include/asm/u-boot.h        |    1 -
>  arch/arm/lib/board.c                 |    3 ---
>  arch/avr32/include/asm/u-boot.h      |    1 -
>  arch/avr32/lib/board.c               |    2 --
>  arch/blackfin/include/asm/u-boot.h   |    1 -
>  arch/blackfin/lib/board.c            |    3 ---
>  arch/m68k/include/asm/u-boot.h       |    1 -
>  arch/m68k/lib/board.c                |    9 ---------
>  arch/microblaze/include/asm/u-boot.h |    1 -
>  arch/microblaze/lib/board.c          |    3 ---
>  arch/mips/include/asm/u-boot.h       |    1 -
>  arch/mips/lib/board.c                |    3 ---
>  arch/nds32/include/asm/u-boot.h      |    1 -
>  arch/nds32/lib/board.c               |    3 ---
>  arch/nios2/include/asm/u-boot.h      |    1 -
>  arch/nios2/lib/board.c               |    2 --
>  arch/openrisc/include/asm/u-boot.h   |    1 -
>  arch/powerpc/include/asm/u-boot.h    |    1 -
>  arch/powerpc/lib/board.c             |    3 ---
>  arch/sandbox/include/asm/u-boot.h    |    1 -
>  arch/sandbox/lib/board.c             |    3 ---
>  arch/sh/include/asm/u-boot.h         |    1 -
>  arch/sh/lib/board.c                  |   11 -----------
>  arch/sparc/include/asm/u-boot.h      |    1 -
>  arch/sparc/lib/board.c               |    2 --
>  arch/x86/include/asm/init_helpers.h  |    1 -
>  arch/x86/include/asm/u-boot.h        |    1 -
>  arch/x86/lib/board.c                 |    3 ---
>  arch/x86/lib/init_helpers.c          |    8 --------
>  board/esd/cpci405/cpci405.c          |    9 ++++-----
>  common/cmd_bdinfo.c                  |   28 ++++++++++++++--------------
>  common/cmd_nvedit.c                  |   16 +---------------
>  net/net.c                            |    2 --
>  33 files changed, 19 insertions(+), 109 deletions(-)

Applied... thanks.

-Joe


More information about the U-Boot mailing list