Re: [U-Boot] [PATCH] relocate-rela: use compiler.h endian macros

2016-12-23 Thread Jonathan Gray
Any objections to this? On Sun, Dec 11, 2016 at 02:51:13PM +1100, Jonathan Gray wrote: > Use the endian macros from u-boot's compiler.h instead of duplicating > the definitions. > > This also avoids a build error on OpenBSD by removing swap64 which > collides with a system definition in endian.h

[U-Boot] [PATCH] relocate-rela: use compiler.h endian macros

2016-12-10 Thread Jonathan Gray
Use the endian macros from u-boot's compiler.h instead of duplicating the definitions. This also avoids a build error on OpenBSD by removing swap64 which collides with a system definition in endian.h pulled in by inttypes.h. Signed-off-by: Jonathan Gray ---