diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 02:34:53 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:01 -0400 |
commit | c9c0957286e73d01e98503f714d32180e6963757 (patch) | |
tree | 60841e55226c1de216524626833415f78f03603e /arch/arm/mach-ux500/cpu-u8500.c | |
parent | f38406bbfc5e1d4bd9726454ecb60ba52aa9da11 (diff) |
ARM: 6078/1: ux500: add per-SoC register definitions
Split up all the hardware register definitions previously found in
hardware.h into per-SoC files db8500-regs.h and db5500-regs.h. Rename a
couple of macros to prepare for sharing code between the variants.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-u8500.c')
-rw-r--r-- | arch/arm/mach-ux500/cpu-u8500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/cpu-u8500.c b/arch/arm/mach-ux500/cpu-u8500.c index 979f1c32ad09..8919af4eeeb5 100644 --- a/arch/arm/mach-ux500/cpu-u8500.c +++ b/arch/arm/mach-ux500/cpu-u8500.c | |||
@@ -124,10 +124,10 @@ static struct map_desc u8500_io_desc[] __initdata = { | |||
124 | __IO_DEV_DESC(U8500_CLKRST3_BASE, SZ_4K), | 124 | __IO_DEV_DESC(U8500_CLKRST3_BASE, SZ_4K), |
125 | __IO_DEV_DESC(U8500_CLKRST5_BASE, SZ_4K), | 125 | __IO_DEV_DESC(U8500_CLKRST5_BASE, SZ_4K), |
126 | __IO_DEV_DESC(U8500_CLKRST6_BASE, SZ_4K), | 126 | __IO_DEV_DESC(U8500_CLKRST6_BASE, SZ_4K), |
127 | __IO_DEV_DESC(U8500_GPIO0_BASE, SZ_4K), | ||
127 | __IO_DEV_DESC(U8500_GPIO1_BASE, SZ_4K), | 128 | __IO_DEV_DESC(U8500_GPIO1_BASE, SZ_4K), |
128 | __IO_DEV_DESC(U8500_GPIO2_BASE, SZ_4K), | 129 | __IO_DEV_DESC(U8500_GPIO2_BASE, SZ_4K), |
129 | __IO_DEV_DESC(U8500_GPIO3_BASE, SZ_4K), | 130 | __IO_DEV_DESC(U8500_GPIO3_BASE, SZ_4K), |
130 | __IO_DEV_DESC(U8500_GPIO5_BASE, SZ_4K), | ||
131 | __IO_DEV_DESC(U8500_L2CC_BASE, SZ_4K), | 131 | __IO_DEV_DESC(U8500_L2CC_BASE, SZ_4K), |
132 | }; | 132 | }; |
133 | 133 | ||
@@ -137,7 +137,7 @@ static struct map_desc u8500ed_io_desc[] __initdata = { | |||
137 | }; | 137 | }; |
138 | 138 | ||
139 | static struct map_desc u8500v1_io_desc[] __initdata = { | 139 | static struct map_desc u8500v1_io_desc[] __initdata = { |
140 | __IO_DEV_DESC(U8500_MTU0_BASE_V1, SZ_4K), | 140 | __IO_DEV_DESC(U8500_MTU0_BASE, SZ_4K), |
141 | }; | 141 | }; |
142 | 142 | ||
143 | void __init u8500_map_io(void) | 143 | void __init u8500_map_io(void) |
@@ -177,7 +177,7 @@ static void __init u8500_timer_init(void) | |||
177 | if (cpu_is_u8500ed()) | 177 | if (cpu_is_u8500ed()) |
178 | mtu_base = __io_address(U8500_MTU0_BASE_ED); | 178 | mtu_base = __io_address(U8500_MTU0_BASE_ED); |
179 | else | 179 | else |
180 | mtu_base = __io_address(U8500_MTU0_BASE_V1); | 180 | mtu_base = __io_address(U8500_MTU0_BASE); |
181 | 181 | ||
182 | nmdk_timer_init(); | 182 | nmdk_timer_init(); |
183 | } | 183 | } |