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
..
2007-02-16 14:00:20 +11:00
2006-12-11 12:29:27 -08:00
2007-01-09 17:03:02 +11:00
2006-12-13 09:27:08 -08:00
2007-02-13 22:03:06 +01:00
2007-02-07 14:03:19 +11:00
2007-02-16 14:00:19 +11:00
2007-02-07 14:03:23 +11:00
2007-01-30 08:39:21 -08:00
2007-01-24 21:13:56 +11:00
2007-02-08 15:02:35 +11:00
2007-02-13 15:35:52 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:23 +11:00
2006-12-08 17:10:18 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:22 +11:00
2007-01-26 01:45:32 -06:00
2007-01-24 21:13:59 +11:00
2007-02-12 09:48:44 -08:00
2007-02-06 22:55:19 -06:00
2007-01-26 17:27:40 -05:00
2007-02-07 14:03:21 +11:00
2006-12-11 16:35:07 +11:00
2007-02-07 14:03:17 +11:00
2007-02-08 15:29:22 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:19 +11:00
2007-02-07 14:03:19 +11:00
2006-12-08 08:28:51 -08:00
2007-01-24 21:13:59 +11:00
2006-12-08 17:10:18 +11:00
2006-12-07 08:39:25 -08:00
2007-02-16 14:00:19 +11:00
2007-01-11 18:18:22 -08:00
2007-02-17 10:21:25 +11:00
2007-02-16 14:00:19 +11:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:44 -08:00
2007-02-07 14:03:22 +11:00
2006-12-08 17:10:22 +11:00
2006-12-07 08:39:46 -08:00
2007-02-07 14:03:21 +11:00
2007-02-07 14:03:21 +11:00
2007-02-13 21:55:40 +01:00
2007-02-06 22:55:19 -06:00
2007-02-13 15:35:52 +11:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2006-12-13 09:05:49 -08:00
2007-02-07 14:03:17 +11:00
2006-12-10 09:55:43 -08:00
2007-02-08 17:20:16 -06:00
2007-02-14 11:55:16 +11:00
2006-12-07 08:39:37 -08:00
2007-02-13 15:35:52 +11:00