Timur Tabi 29cfe6f4fb [POWERPC] add of_get_mac_address and update fsl_soc.c to use it
Add function of_get_mac_address(), which obtains the best MAC address to use
from the device tree by checking various properties in order.  The order is:
'mac-address', then 'local-mac-address', then 'address'.  It skips properties
that contain invalid MAC addresses, which were probably not initialized
by U-Boot.

Update gfar_of_init() and fs_enet_of_init() in fsl_soc.c to call
of_get_mac_address().

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-17 10:21:25 +11:00
..
2006-09-11 13:32:30 -04:00
2007-02-07 14:03:22 +11:00
2007-02-13 15:35:52 +11:00
2007-02-08 16:08:35 +11:00
2006-08-25 14:56:07 +10:00
2007-02-07 14:03:22 +11:00
2007-02-07 14:03:22 +11:00
2006-12-11 16:35:07 +11:00
2006-08-08 17:08:56 +10:00
2007-02-07 14:03:19 +11:00
2007-02-16 14:00:20 +11:00
2007-02-11 10:51:32 -08:00
2007-02-07 14:03:19 +11:00