aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-07 06:31:36 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-17 03:44:16 -0400
commitd0a84e72eb755f58ba350d9988bfbdffd6f5a22c (patch)
tree1f54f10a238d128b7fafe2147d5acbffa5355d81 /arch/arm/mach-rpc/include
parentfb1dddd73dfd35d4f8669c4b849ce33483950237 (diff)
ARM: io: RiscPC: define io addresses relative to IO_BASE
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc/include')
-rw-r--r--arch/arm/mach-rpc/include/mach/hardware.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-rpc/include/mach/hardware.h b/arch/arm/mach-rpc/include/mach/hardware.h
index dde6b3c0e299..822b810215d7 100644
--- a/arch/arm/mach-rpc/include/mach/hardware.h
+++ b/arch/arm/mach-rpc/include/mach/hardware.h
@@ -51,12 +51,12 @@
51/* 51/*
52 * IO Addresses 52 * IO Addresses
53 */ 53 */
54#define VIDC_BASE IOMEM(0xe0400000) 54#define VIDC_BASE (IO_BASE + 0x00400000)
55#define EXPMASK_BASE 0xe0360000 55#define EXPMASK_BASE (IO_BASE + 0x00360000)
56#define IOMD_BASE IOMEM(0xe0200000) 56#define IOMD_BASE (IO_BASE + 0x00200000)
57#define IOC_BASE IOMEM(0xe0200000) 57#define IOC_BASE (IO_BASE + 0x00200000)
58#define PCIO_BASE IOMEM(0xe0010000) 58#define FLOPPYDMA_BASE (IO_BASE + 0x0002a000)
59#define FLOPPYDMA_BASE IOMEM(0xe002a000) 59#define PCIO_BASE (IO_BASE + 0x00010000)
60 60
61#define vidc_writel(val) __raw_writel(val, VIDC_BASE) 61#define vidc_writel(val) __raw_writel(val, VIDC_BASE)
62 62