]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: zynqmpbif: Use compiler builtin instead of linux-specific __swab32
authorBin Meng <bmeng.cn@gmail.com>
Sun, 27 Oct 2019 12:19:42 +0000 (05:19 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Oct 2019 17:32:51 +0000 (13:32 -0400)
commitafd3bf4318b0b3e845b5bc1f6763727229af9179
tree303ac8e01ef0055d09d1083219e438bf3eba8f14
parenta7c9a65ed9feee937c6b40a971d03e9c2f8447ca
tools: zynqmpbif: Use compiler builtin instead of linux-specific __swab32

__swab32() is a Linux specific macro defined in linux/swab.h. Let's
use the compiler equivalent builtin function __builtin_bswap32() for
better portability.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
tools/zynqmpbif.c