aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/armnommu/include/bits/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armnommu/include/bits/endian.h')
-rw-r--r--src/arch/armnommu/include/bits/endian.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/arch/armnommu/include/bits/endian.h b/src/arch/armnommu/include/bits/endian.h
new file mode 100644
index 00000000..0a18d97d
--- /dev/null
+++ b/src/arch/armnommu/include/bits/endian.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2004 Tobias Lorenz
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef ETHERBOOT_BITS_ENDIAN_H
+#define ETHERBOOT_BITS_ENDIAN_H
+
+#ifdef __ARMEB__
+#define __BYTE_ORDER __BIG_ENDIAN
+#else
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#endif
+
+#endif /* ETHERBOOT_BITS_ENDIAN_H */