Re: [U-Boot] [PATCH v3 3/9] tools: zynqmpbif: Use compiler builtin instead of linux-specific __swab32

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:42AM -0700, Bin Meng wrote: > __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 Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH v3 3/9] tools: zynqmpbif: Use compiler builtin instead of linux-specific __swab32

2019-10-27 Thread Bin Meng
__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 --- Changes in v3: None Changes in v2: None tools/zynqmpbif.c | 2 +- 1 file changed, 1 insertion(+), 1