diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-11 18:27:18 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-20 22:39:11 +0100 |
commit | 19b5b533ccd522abeb501d510750693c35e20456 (patch) | |
tree | 2477e2b01fa106d3095b2010976eb5b4587a7fe5 /lib_sparc/board.c | |
parent | 740e8ba7d475c49c1b76058e1bf354e376b5c4e0 (diff) | |
download | u-boot-imx-19b5b533ccd522abeb501d510750693c35e20456.zip u-boot-imx-19b5b533ccd522abeb501d510750693c35e20456.tar.gz u-boot-imx-19b5b533ccd522abeb501d510750693c35e20456.tar.bz2 |
lib_*/board.c: do not initialize bi_enet*addr in global data
Since everyone is using the environment for mac address storage, there is
no point in seeding the global data.
The arches that are converted here:
i386
m68k
microblaze
mips
nios
nios2
sh
sparc
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Daniel Hellstrom <daniel@gaisler.com>
CC: Michal Simek <monstr@seznam.cz>
CC: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
CC: Scott McNutt <smcnutt@psyent.com>
CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'lib_sparc/board.c')
-rw-r--r-- | lib_sparc/board.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib_sparc/board.c b/lib_sparc/board.c index e972d3e..2f3e673 100644 --- a/lib_sparc/board.c +++ b/lib_sparc/board.c @@ -390,25 +390,6 @@ void board_init_f(ulong bootflag) board_late_init(); #endif - s = getenv("ethaddr"); - for (i = 0; i < 6; ++i) { - bd->bi_enetaddr[i] = s ? simple_strtoul(s, &e, 16) : 0; - if (s) - s = (*e) ? e + 1 : e; - } - -#ifdef CONFIG_HAS_ETH1 - /* handle the 2nd ethernet address */ - - s = getenv("eth1addr"); - - for (i = 0; i < 6; ++i) { - bd->bi_enet1addr[i] = s ? simple_strtoul(s, &e, 16) : 0; - if (s) - s = (*e) ? e + 1 : e; - } -#endif - #ifdef CONFIG_ID_EEPROM mac_read_from_eeprom(); #endif |