mpc83xx: write MAC address to mac-address and local-mac-address
authorTimur Tabi <timur@freescale.com>
Tue, 13 Feb 2007 16:41:42 +0000 (10:41 -0600)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 2 Mar 2007 17:05:54 +0000 (11:05 -0600)
commit61f4f912acbe60776c5e00df1ec94094ce672957
treead038d144d14f31b62ca359340185cb0cd05c463
parent22d71a71f57fd5d38b27ac3848e50d790360a598
mpc83xx: write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, this patch
updates ftp_cpu_setup() to write the MAC address to mac-address if it exists.
This function already updates local-mac-address.

Signed-off-by: Timur Tabi <timur@freescale.com>
cpu/mpc83xx/cpu.c