projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c93d9
)
lynxkdi: get mac address from environment
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 11 Feb 2009 23:54:07 +0000
(18:54 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 20 Mar 2009 21:39:10 +0000
(22:39 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
common/lynxkdi.c
patch
|
blob
|
history
diff --git
a/common/lynxkdi.c
b/common/lynxkdi.c
index 5f12b0dc176854ba54f144dcd92b2cc14c62d8a7..17b0607ae0cd627b2d70501b0c28b1d20313a61d 100644
(file)
--- a/
common/lynxkdi.c
+++ b/
common/lynxkdi.c
@@
-33,7
+33,7
@@
void lynxkdi_boot (image_header_t *hdr)
kbd = gd->bd;
parms->clock_ref = kbd->bi_busfreq;
parms->dramsz = kbd->bi_memsize;
-
memcpy (parms->ethaddr, kbd->bi_enetaddr, 6
);
+
eth_getenv_enetaddr("ethaddr", parms->ethaddr
);
mtspr (SPRN_SPRG2, 0x0020);
/* Do a simple check for Bluecat so we can pass the