summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-03-04 21:24:44 +0100
committerWolfgang Denk <wd@denx.de>2010-03-04 21:24:44 +0100
commit96dd0a4cbf3181d47155e3cf29802717a346250d (patch)
tree49ee0f22f6bd2cad03a202b053577fa74fec9868 /include
parenta43af0f2236471bfe26e397c44c989506b115dfe (diff)
parentc7de810c79a00aa6fc08900ee0bb57bd295db733 (diff)
downloadu-boot-imx-96dd0a4cbf3181d47155e3cf29802717a346250d.zip
u-boot-imx-96dd0a4cbf3181d47155e3cf29802717a346250d.tar.gz
u-boot-imx-96dd0a4cbf3181d47155e3cf29802717a346250d.tar.bz2
Merge branch 'next' of git://git.denx.de/u-boot-coldfire
Diffstat (limited to 'include')
-rw-r--r--include/asm-m68k/unaligned.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-m68k/unaligned.h b/include/asm-m68k/unaligned.h
new file mode 100644
index 0000000..328aa0c
--- /dev/null
+++ b/include/asm-m68k/unaligned.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_M68K_UNALIGNED_H
+#define _ASM_M68K_UNALIGNED_H
+
+#ifdef CONFIG_COLDFIRE
+#include <linux/unaligned/be_byteshift.h>
+#else
+#include <linux/unaligned/access_ok.h>
+#endif
+
+#include <linux/unaligned/generic.h>
+
+#define get_unaligned __get_unaligned_be
+#define put_unaligned __put_unaligned_be
+
+#endif /* _ASM_M68K_UNALIGNED_H */