diff options
-rw-r--r-- | arch/arm/mach-mxs/mach-m28evk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/mach-mx28evk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/mach-m28evk.c b/arch/arm/mach-mxs/mach-m28evk.c index eec1257e7f9..06d79963611 100644 --- a/arch/arm/mach-mxs/mach-m28evk.c +++ b/arch/arm/mach-mxs/mach-m28evk.c | |||
@@ -255,7 +255,7 @@ static int __init m28evk_fec_get_mac(void) | |||
255 | * so hard-code DENX OUI (C0:E5:4E) here. | 255 | * so hard-code DENX OUI (C0:E5:4E) here. |
256 | */ | 256 | */ |
257 | for (i = 0; i < 2; i++) { | 257 | for (i = 0; i < 2; i++) { |
258 | val = ocotp[i * 4]; | 258 | val = ocotp[i]; |
259 | mx28_fec_pdata[i].mac[0] = 0xC0; | 259 | mx28_fec_pdata[i].mac[0] = 0xC0; |
260 | mx28_fec_pdata[i].mac[1] = 0xE5; | 260 | mx28_fec_pdata[i].mac[1] = 0xE5; |
261 | mx28_fec_pdata[i].mac[2] = 0x4E; | 261 | mx28_fec_pdata[i].mac[2] = 0x4E; |
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c index 81641760867..e386c142f93 100644 --- a/arch/arm/mach-mxs/mach-mx28evk.c +++ b/arch/arm/mach-mxs/mach-mx28evk.c | |||
@@ -259,7 +259,7 @@ static int __init mx28evk_fec_get_mac(void) | |||
259 | * so hard-code Freescale OUI (00:04:9f) here. | 259 | * so hard-code Freescale OUI (00:04:9f) here. |
260 | */ | 260 | */ |
261 | for (i = 0; i < 2; i++) { | 261 | for (i = 0; i < 2; i++) { |
262 | val = ocotp[i * 4]; | 262 | val = ocotp[i]; |
263 | mx28_fec_pdata[i].mac[0] = 0x00; | 263 | mx28_fec_pdata[i].mac[0] = 0x00; |
264 | mx28_fec_pdata[i].mac[1] = 0x04; | 264 | mx28_fec_pdata[i].mac[1] = 0x04; |
265 | mx28_fec_pdata[i].mac[2] = 0x9f; | 265 | mx28_fec_pdata[i].mac[2] = 0x9f; |