X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Fbyteorder.h;h=71a9966301d05ed366b9d89f25dcdd63af7ca8a2;hp=c3489f1e1fc67cc5a505f1305226b97d76435fa5;hb=0ae7653128c80a4f2920cbe9b124792c2fd9d9e0;hpb=54799e4596bf8af33fd4a8dee153be7011c06d8d diff --git a/arch/arm/include/asm/byteorder.h b/arch/arm/include/asm/byteorder.h index c3489f1e1f..71a9966301 100644 --- a/arch/arm/include/asm/byteorder.h +++ b/arch/arm/include/asm/byteorder.h @@ -23,10 +23,22 @@ # define __SWAB_64_THRU_32__ #endif +#ifdef CONFIG_ARM64 + +#ifdef __AARCH64EB__ +#include +#else +#include +#endif + +#else /* CONFIG_ARM64 */ + #ifdef __ARMEB__ #include #else #include #endif +#endif /* CONFIG_ARM64 */ + #endif