summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/io.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-04 22:53:04 +0200
committerWolfgang Denk <wd@denx.de>2011-09-04 22:53:04 +0200
commit684cad5717ea5887a09f3c67732a17774a658b34 (patch)
treeb9732b98c6ceba2095e57e0cc2fd002cbb1e026c /arch/m68k/include/asm/io.h
parent6dfbf49c6dc3687efbc6d7f9e25bb46ed2d6c833 (diff)
parent3f8ce93956fea1fe30db9ea81bc7db1deb401eea (diff)
downloadu-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.zip
u-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.tar.gz
u-boot-imx-684cad5717ea5887a09f3c67732a17774a658b34.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
* 'master' of git://git.denx.de/u-boot-coldfire: ColdFire:Clean up the CONFIG_STANDALONE_LOAD_ADDR usage ColdFire:Add mb for 5253 dram initialization ColdFire:Define the DM9000 byteswap for M5253 board. ColdFire:Update the env settings for several boards. ColdFire:disable the NFS define for 52277 board. ColdFire:Update the timer_init since it was unified. ColdFire: Cleanup for partial linking and --gc-sections ColdFire: Update compile flags for each CPUs ColdFire:Fix the configuration broken for some boards.
Diffstat (limited to 'arch/m68k/include/asm/io.h')
-rw-r--r--arch/m68k/include/asm/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/io.h b/arch/m68k/include/asm/io.h
index 531f420..d86eaf9 100644
--- a/arch/m68k/include/asm/io.h
+++ b/arch/m68k/include/asm/io.h
@@ -81,6 +81,8 @@
#define outl(val, port) out_le32((u32 *)((port)+_IO_BASE), (val))
#endif
+#define mb() __asm__ __volatile__ ("" : : : "memory")
+
extern inline void _insb(volatile u8 * port, void *buf, int ns)
{
u8 *data = (u8 *) buf;