From 5013533467c1de731c2f0c9beb4b41ce3f07cbeb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Feb 2009 18:54:07 -0500 Subject: [PATCH] lynxkdi: get mac address from environment Signed-off-by: Mike Frysinger CC: Ben Warren --- common/lynxkdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lynxkdi.c b/common/lynxkdi.c index 5f12b0dc17..17b0607ae0 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 -- 2.25.1