]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/byteorder.h
arm64: core support
[karo-tx-uboot.git] / arch / arm / include / asm / byteorder.h
index c3489f1e1fc67cc5a505f1305226b97d76435fa5..71a9966301d05ed366b9d89f25dcdd63af7ca8a2 100644 (file)
 #  define __SWAB_64_THRU_32__
 #endif
 
+#ifdef CONFIG_ARM64
+
+#ifdef __AARCH64EB__
+#include <linux/byteorder/big_endian.h>
+#else
+#include <linux/byteorder/little_endian.h>
+#endif
+
+#else  /* CONFIG_ARM64 */
+
 #ifdef __ARMEB__
 #include <linux/byteorder/big_endian.h>
 #else
 #include <linux/byteorder/little_endian.h>
 #endif
 
+#endif /* CONFIG_ARM64 */
+
 #endif