android_kernel_xiaomi_sm8350/arch/powerpc
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
..
boot [POWERPC] Delete boot-cpu property from all DTS files 2007-02-16 14:00:20 +11:00
configs [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
kernel [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
lib [POWERPC] Use ARRAY_SIZE macro when appropriate 2007-02-08 16:08:18 +11:00
math-emu
mm [POWERPC] Fix bug with early ioremap and 64k pages 2007-02-16 14:00:20 +11:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms [POWERPC] Fix cut and paste breakage in arch/powerpc/platforms/pseries/pseries.h 2007-02-16 14:00:20 +11:00
sysdev [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
xmon [POWERPC] spufs: move prio to spu_context 2007-02-13 21:55:40 +01:00
.gitignore
Kconfig [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
Kconfig.debug [POWERPC] pasemi: UART udbg support 2007-02-07 14:03:22 +11:00
Makefile