Re: [U-Boot] [PATCH] armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases

2014-01-10 Thread Albert ARIBAUD
Hi Tom, On Thu, 9 Jan 2014 15:11:27 -0500, Tom Rini wrote: > The toolchain sets __aarch64__ for both LE and BE. In the case of > posix_types.h we cannot reliably use config.h as that will lead to > problems. In the case of byteorder.h it's clearer to check the EB flag > being set in either ca

[U-Boot] [PATCH] armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases

2014-01-09 Thread Tom Rini
The toolchain sets __aarch64__ for both LE and BE. In the case of posix_types.h we cannot reliably use config.h as that will lead to problems. In the case of byteorder.h it's clearer to check the EB flag being set in either case instead. Cc: David Feng Signed-off-by: Tom Rini --- arch/arm/inc