[U-Boot] [PATCH] net: move bootfile/ipaddr init into eth_initialize

Thomas Chou thomas at wytron.com.tw
Mon Jan 16 03:28:25 CET 2012


Hi Mike,

On 01/16/2012 07:32 AM, Mike Frysinger wrote:
> All arches init these variables the same way, so move the logic
> into the core net code to avoid duplicating it everywhere else.
>
> Signed-off-by: Mike Frysinger<vapier at gentoo.org>
> ---
>   arch/arm/lib/board.c        |   11 -----------
>   arch/avr32/lib/board.c      |    5 -----
>   arch/blackfin/lib/board.c   |    9 +--------
>   arch/m68k/lib/board.c       |   14 --------------
>   arch/microblaze/lib/board.c |    7 -------
>   arch/mips/lib/board.c       |   11 -----------
>   arch/nds32/lib/board.c      |    9 ---------
>   arch/nios2/lib/board.c      |    2 --
>   arch/powerpc/lib/board.c    |   11 -----------
>   arch/sandbox/lib/board.c    |    3 ---
>   arch/sh/lib/board.c         |   22 ++--------------------
>   arch/sparc/lib/board.c      |    7 -------
>   arch/x86/lib/board.c        |   12 ------------
>   net/eth.c                   |   12 ++++++++++++
>   14 files changed, 15 insertions(+), 120 deletions(-)

Tested on nios2 boards.

Tested-by: Thomas Chou <thomas at wytron.com.tw>

Best regards,
Thomas


More information about the U-Boot mailing list