aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/include/mach/hardware.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-07 06:07:36 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-17 03:44:16 -0400
commit06cf0b5468f204754f32e571f8415b20cedbe5f0 (patch)
treeb876f9bcdada5de5ab7a5aa958fd8308d8a6f881 /arch/arm/mach-rpc/include/mach/hardware.h
parent1ace756628443ac41e8b6b409277fc4ee847472e (diff)
ARM: io: ecard: remove ioaddr() from ecard.c
Remove ioaddr() usage from ecard.c, updating (and renaming) the constants in RiscPC's hardware.h to contain the proper translation. As this gets rid of the last ioaddr() usage, kill that too. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-rpc/include/mach/hardware.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-rpc/include/mach/hardware.h b/arch/arm/mach-rpc/include/mach/hardware.h
index 822b810215d7..41777660d9fe 100644
--- a/arch/arm/mach-rpc/include/mach/hardware.h
+++ b/arch/arm/mach-rpc/include/mach/hardware.h
@@ -51,21 +51,20 @@
51/* 51/*
52 * IO Addresses 52 * IO Addresses
53 */ 53 */
54#define ECARD_EASI_BASE (IO_BASE + 0x05000000)
54#define VIDC_BASE (IO_BASE + 0x00400000) 55#define VIDC_BASE (IO_BASE + 0x00400000)
55#define EXPMASK_BASE (IO_BASE + 0x00360000) 56#define EXPMASK_BASE (IO_BASE + 0x00360000)
57#define ECARD_IOC4_BASE (IO_BASE + 0x00270000)
58#define ECARD_IOC_BASE (IO_BASE + 0x00240000)
56#define IOMD_BASE (IO_BASE + 0x00200000) 59#define IOMD_BASE (IO_BASE + 0x00200000)
57#define IOC_BASE (IO_BASE + 0x00200000) 60#define IOC_BASE (IO_BASE + 0x00200000)
61#define ECARD_MEMC8_BASE (IO_BASE + 0x0002b000)
58#define FLOPPYDMA_BASE (IO_BASE + 0x0002a000) 62#define FLOPPYDMA_BASE (IO_BASE + 0x0002a000)
59#define PCIO_BASE (IO_BASE + 0x00010000) 63#define PCIO_BASE (IO_BASE + 0x00010000)
64#define ECARD_MEMC_BASE (IO_BASE + 0x00000000)
60 65
61#define vidc_writel(val) __raw_writel(val, VIDC_BASE) 66#define vidc_writel(val) __raw_writel(val, VIDC_BASE)
62 67
63#define IO_EC_EASI_BASE 0x81400000
64#define IO_EC_IOC4_BASE 0x8009c000
65#define IO_EC_IOC_BASE 0x80090000
66#define IO_EC_MEMC8_BASE 0x8000ac00
67#define IO_EC_MEMC_BASE 0x80000000
68
69#define NETSLOT_BASE 0x0302b000 68#define NETSLOT_BASE 0x0302b000
70#define NETSLOT_SIZE 0x00001000 69#define NETSLOT_SIZE 0x00001000
71 70