ARM: mxs: store mac address read from OTP in device tree
authorShawn Guo <shawn.guo@linaro.org>
Tue, 19 Jun 2012 14:38:14 +0000 (22:38 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 3 Jul 2012 05:22:35 +0000 (13:22 +0800)
commit5653acc24c13e8b272e16a194b26465330753118
tree86eee0ae5345c6af0a33a68ab209ba37a370af9d
parent80d969e491b514f8179ef354b7cf8b372610d01b
ARM: mxs: store mac address read from OTP in device tree

The non-DT boot reads the mac from OTP and pass it to fec driver via
platform data.  The patch provides an equivalent support for device
tree boot, with reading mac from OTP and store it in device tree,
and fec driver can get the mac from device tree at its probe time.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mxs.c