mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![]() The memac for PHY management on little endian SoCs is similar on big endian SoCs, so we modify the driver by using I/O accessor function to handle the endianness, so the driver can be reused on little endian SoCs, we introduce CONFIG_SYS_MEMAC_LITTLE_ENDIAN for little endian SoCs, if the CONFIG_SYS_MEMAC_LITTLE_ENDIAN is defined, the I/O access is little endian, if not, the I/O access is big endian. Move fsl_memac.h out of powerpc include. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com> |
||
---|---|---|
.. | ||
b4860.c | ||
dtsec.c | ||
eth.c | ||
fm.c | ||
fm.h | ||
init.c | ||
Makefile | ||
memac_phy.c | ||
memac.c | ||
p1023.c | ||
p4080.c | ||
p5020.c | ||
p5040.c | ||
t1024.c | ||
t1040.c | ||
t2080.c | ||
t4240.c | ||
tgec_phy.c | ||
tgec.c |