aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db5500.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-12-08 00:37:57 -0500
committerLinus Walleij <linus.walleij@stericsson.com>2011-01-10 12:34:52 -0500
commit92389ca8362c42952c7ebb8a0350ac522dcde0f4 (patch)
tree6c840e0d706712729bded5900aed93fa70778ca2 /arch/arm/mach-ux500/cpu-db5500.c
parent0c21e3aaf6ae85bee804a325aa29c325209180fd (diff)
ux500: remove build-time changing macros
To allow the possiblity of building U8500 and U5500 support in the same image. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> [Rebased to latest changes in Russells tree] Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db5500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db5500.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/cpu-db5500.c b/arch/arm/mach-ux500/cpu-db5500.c
index acc841e48de4..7b0ab8336f3f 100644
--- a/arch/arm/mach-ux500/cpu-db5500.c
+++ b/arch/arm/mach-ux500/cpu-db5500.c
@@ -22,6 +22,16 @@
22#include "devices-db5500.h" 22#include "devices-db5500.h"
23 23
24static struct map_desc u5500_io_desc[] __initdata = { 24static struct map_desc u5500_io_desc[] __initdata = {
25 __IO_DEV_DESC(U5500_UART0_BASE, SZ_4K),
26 __IO_DEV_DESC(U5500_UART2_BASE, SZ_4K),
27 __IO_DEV_DESC(U5500_GIC_CPU_BASE, SZ_4K),
28 __IO_DEV_DESC(U5500_GIC_DIST_BASE, SZ_4K),
29 __IO_DEV_DESC(U5500_L2CC_BASE, SZ_4K),
30 __IO_DEV_DESC(U5500_TWD_BASE, SZ_4K),
31 __IO_DEV_DESC(U5500_MTU0_BASE, SZ_4K),
32 __IO_DEV_DESC(U5500_SCU_BASE, SZ_4K),
33 __IO_DEV_DESC(U5500_BACKUPRAM0_BASE, SZ_8K),
34
25 __IO_DEV_DESC(U5500_GPIO0_BASE, SZ_4K), 35 __IO_DEV_DESC(U5500_GPIO0_BASE, SZ_4K),
26 __IO_DEV_DESC(U5500_GPIO1_BASE, SZ_4K), 36 __IO_DEV_DESC(U5500_GPIO1_BASE, SZ_4K),
27 __IO_DEV_DESC(U5500_GPIO2_BASE, SZ_4K), 37 __IO_DEV_DESC(U5500_GPIO2_BASE, SZ_4K),
@@ -143,8 +153,6 @@ static void __init db5500_add_gpios(void)
143 153
144void __init u5500_map_io(void) 154void __init u5500_map_io(void)
145{ 155{
146 ux500_map_io();
147
148 iotable_init(u5500_io_desc, ARRAY_SIZE(u5500_io_desc)); 156 iotable_init(u5500_io_desc, ARRAY_SIZE(u5500_io_desc));
149} 157}
150 158