diff options
author | Mike Frysinger | 2009-02-11 18:54:07 -0500 |
---|---|---|
committer | Wolfgang Denk | 2009-03-20 22:39:10 +0100 |
commit | 5013533467c1de731c2f0c9beb4b41ce3f07cbeb (patch) | |
tree | 1c23053830eea177ba997cf6c213a640f047945a /common/lynxkdi.c | |
parent | 62c93d92f1b6266b2f33c5f403931b51cbd2a246 (diff) |
lynxkdi: get mac address from environment
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'common/lynxkdi.c')
-rw-r--r-- | common/lynxkdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lynxkdi.c b/common/lynxkdi.c index 5f12b0dc176..17b0607ae0c 100644 --- 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 |