summaryrefslogtreecommitdiff
path: root/include/asm-m68k
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-08-26 21:29:32 +0200
committerWolfgang Denk <wd@denx.de>2009-08-26 21:29:32 +0200
commitd7f4d14a8b317857163ccf3d97e3b1a46ba2282e (patch)
tree601686ad1cff67995bdb93d4d9876bc9cc10ea97 /include/asm-m68k
parent3a7b2c21fb08b022e3e624cd071002b4aaed1606 (diff)
parentf6a309080b2da9e509b5ee8d091dca5e175415b7 (diff)
downloadu-boot-imx-d7f4d14a8b317857163ccf3d97e3b1a46ba2282e.zip
u-boot-imx-d7f4d14a8b317857163ccf3d97e3b1a46ba2282e.tar.gz
u-boot-imx-d7f4d14a8b317857163ccf3d97e3b1a46ba2282e.tar.bz2
Merge branch 'next' of git://www.denx.de/git/u-boot-coldfire into next
Diffstat (limited to 'include/asm-m68k')
-rw-r--r--include/asm-m68k/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-m68k/io.h b/include/asm-m68k/io.h
index 50ea087..531f420 100644
--- a/include/asm-m68k/io.h
+++ b/include/asm-m68k/io.h
@@ -28,6 +28,10 @@
#include <asm/byteorder.h>
+#ifndef _IO_BASE
+#define _IO_BASE 0
+#endif
+
#define __raw_readb(addr) (*(volatile u8 *)(addr))
#define __raw_readw(addr) (*(volatile u16 *)(addr))
#define __raw_readl(addr) (*(volatile u32 *)(addr))