From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 10 Jan 2014 10:17:56 +0100 Subject: [U-Boot] [PATCH] armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases In-Reply-To: <1389298287-11236-1-git-send-email-trini@ti.com> References: <1389298287-11236-1-git-send-email-trini@ti.com> Message-ID: <20140110101756.7daba61c@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 case instead. Amended according to Tom's instruction on IRC (actual removal of config.h include in posix_types.h) then applied on top of the arm64 serie v16. Amicalement, -- Albert.