[ARM] DNS323: Read MAC address from flash
authorMatt Palmer <mpalmer@hezmatt.org>
Sat, 18 Oct 2008 21:15:09 +0000 (08:15 +1100)
committerNicolas Pitre <nico@cam.org>
Thu, 11 Dec 2008 21:36:59 +0000 (16:36 -0500)
commita93f44c1751ef1afddd4b76058fb3a2f55fe774c
tree0e4c0508e5b94e2932ac766eb55fd97433e326a1
parentfb6f552930e52699c8ac452c5a79ec3e97e6fc73
[ARM] DNS323: Read MAC address from flash

Based on similar code from the tsx09 series of machines, just rips the MAC
address out of flash and stuffs it into the NIC. Tested on a DNS323 rev B1.
It's possible (though unlikely) that an A1 will have the MAC in a different
location in flash.

Signed-off-by: Matt Palmer <mpalmer@hezmatt.org>
arch/arm/mach-orion5x/dns323-setup.c