aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/sh/include/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/sh/include/asm/byteorder.h')
-rw-r--r--roms/u-boot/arch/sh/include/asm/byteorder.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/roms/u-boot/arch/sh/include/asm/byteorder.h b/roms/u-boot/arch/sh/include/asm/byteorder.h
new file mode 100644
index 00000000..74fbfb3e
--- /dev/null
+++ b/roms/u-boot/arch/sh/include/asm/byteorder.h
@@ -0,0 +1,17 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __ASM_SH_BYTEORDER_H_
+#define __ASM_SH_BYTEORDER_H_
+
+#include <config.h>
+#include <asm/types.h>
+
+#ifdef __LITTLE_ENDIAN__
+#include <linux/byteorder/little_endian.h>
+#else
+#include <linux/byteorder/big_endian.h>
+#endif
+
+#endif