summaryrefslogtreecommitdiffstats
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-07-24 04:09:37 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-25 13:13:31 -0500
commiteff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf (patch)
tree222c8ef8e2b27506661491b819961607dfca91fc /include/linux/linux_string.h
parentd0a04db6af7607c99f28973a79be2d31caaf5670 (diff)
downloadu-boot-eff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf.tar.gz
u-boot-eff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf.tar.xz
u-boot-eff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf.zip
net: macb: Fix check for little-endian system in gmac_configure_dma()
Instead of depending on CONFIG_SYS_LITTLE_ENDIAN, we check at runtime whether underlying system is little-endian or big-endian. This way we are not dependent on any U-Boot specific OR compiler specific macro to check system endianness. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions