X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Fbyteorder.h;h=20cce7657e1059a170fd5ef32688cb96064fcd7f;hb=dd45948dd748581dba5b666fe17601f32205cda2;hp=71a9966301d05ed366b9d89f25dcdd63af7ca8a2;hpb=0ae7653128c80a4f2920cbe9b124792c2fd9d9e0;p=oweals%2Fu-boot.git diff --git a/arch/arm/include/asm/byteorder.h b/arch/arm/include/asm/byteorder.h index 71a9966301..20cce7657e 100644 --- a/arch/arm/include/asm/byteorder.h +++ b/arch/arm/include/asm/byteorder.h @@ -23,22 +23,10 @@ # define __SWAB_64_THRU_32__ #endif -#ifdef CONFIG_ARM64 - -#ifdef __AARCH64EB__ -#include -#else -#include -#endif - -#else /* CONFIG_ARM64 */ - -#ifdef __ARMEB__ +#if defined(__ARMEB__) || defined(__AARCH64EB__) #include #else #include #endif -#endif /* CONFIG_ARM64 */ - #endif