android_kernel_xiaomi_sm8350/arch/powerpc/sysdev
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
..
qe_lib
commproc.c
cpm2_common.c
cpm2_pic.c
cpm2_pic.h
dart_iommu.c
dart.h
dcr-low.S
dcr.c
fsl_soc.c [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
Makefile
micropatch.c
mmio_nvram.c
mpc8xx_pic.c
mpc8xx_pic.h
mpic.c [POWERPC] mpic: set IPIs to be per-CPU 2007-02-16 14:00:19 +11:00
pmi.c
rom.c
tsi108_dev.c
tsi108_pci.c