From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Mon, 16 Jan 2012 10:28:25 +0800 Subject: [U-Boot] [PATCH] net: move bootfile/ipaddr init into eth_initialize In-Reply-To: <1326670329-18644-1-git-send-email-vapier@gentoo.org> References: <1326670329-18644-1-git-send-email-vapier@gentoo.org> Message-ID: <4F138B49.2040809@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 Best regards, Thomas