summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-04-09 08:29:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-09 08:31:06 +0200
commit48f1fa806fe5ff9d2ffb93a449648b7b85695733 (patch)
tree9ad2425bf2dbe49e7c3628bdf755388f1f80e294 /arch/ppc
parent9c8f73ba86884026f4bbfc6f593d73741cfebcdc (diff)
downloadbarebox-48f1fa806fe5ff9d2ffb93a449648b7b85695733.tar.gz
barebox-48f1fa806fe5ff9d2ffb93a449648b7b85695733.tar.xz
ppc: io: Add _IO_BASE define
To make inb/outb and friends work. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/include/asm/io.h b/arch/ppc/include/asm/io.h
index d3473e5c96..98bf5132cd 100644
--- a/arch/ppc/include/asm/io.h
+++ b/arch/ppc/include/asm/io.h
@@ -12,6 +12,7 @@
#define SIO_CONFIG_RA 0x398
#define SIO_CONFIG_RD 0x399
+#define _IO_BASE 0
#define readb(addr) in_8((volatile u8 *)(addr))
#define writeb(b,addr) out_8((volatile u8 *)(addr), (b))