Skip to content
Commit eff0e0c7 authored by Anup Patel's avatar Anup Patel Committed by Joe Hershberger
Browse files

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: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent d0a04db6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment