• Shaohui Xie's avatar
    net/memac_phy: reuse driver for little endian SoCs · cd348efa
    Shaohui Xie authored
    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: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
    Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
    cd348efa
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...