diff options
author | Thomas Herzmann <thomas.herzmann@keymile.com> | 2012-05-04 10:55:53 +0200 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2012-06-15 17:12:40 -0500 |
commit | d8f87f6c4ba22ecab84371206cac2e17913eba60 (patch) | |
tree | 37e51845d6dbee9fba23b8e5bce62efc5b46ff2d | |
parent | c67d2ff2175de53673d131a808f92b1ad186ff1e (diff) | |
download | u-boot-imx-d8f87f6c4ba22ecab84371206cac2e17913eba60.zip u-boot-imx-d8f87f6c4ba22ecab84371206cac2e17913eba60.tar.gz u-boot-imx-d8f87f6c4ba22ecab84371206cac2e17913eba60.tar.bz2 |
km/common: fixed error in ethaddr (1-byte-shift)
The MAC address begins at offset 1.
Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r-- | board/keymile/common/ivm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c index 70d78457f..9bc3c21 100644 --- a/board/keymile/common/ivm.c +++ b/board/keymile/common/ivm.c @@ -218,7 +218,7 @@ static int ivm_analyze_block2(unsigned char *buf, int len) buf[4] = (val >> 16) & 0xff; buf[5] = (val >> 8) & 0xff; buf[6] = val & 0xff; - sprintf((char *)valbuf, "%pM", buf); + sprintf((char *)valbuf, "%pM", buf + 1); } #endif #ifdef MACH_TYPE_KM_KIRKWOOD |