ARM: mxs: read correct values when setting up MAC
commit5a91d7c8a654b2076e9f3b39544cb5e0a6c0aa3b
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 24 Jan 2012 18:57:27 +0000 (24 19:57 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Jan 2012 15:08:52 +0000 (31 23:08 +0800)
tree51d59600956a2cd4df78cbe6628a885eeb7848d7
parentc5f98794f9d807c1d203468f8deb1b3524a95e67
ARM: mxs: read correct values when setting up MAC

Currently, the MAC address from the second ethernet is generated from the
crypto-key (and not a customer reg) because of a wrong index to the ocotp
array.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-m28evk.c
arch/arm/mach-mxs/mach-mx28evk.c