commit | 6e9dc8da2f6dee320bbb29de506210afc87b5e37 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Oct 27 05:19:42 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 28 13:32:51 2019 -0400 |
tree | 303ac8e01ef0055d09d1083219e438bf3eba8f14 | |
parent | 3495f987c170739534dcc38493f740843659cbc5 [diff] |
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>