diff options
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index 17f5f4439fe7..68bc6b226ec7 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
@@ -16,4 +16,14 @@ config REALVIEW_MPCORE | |||
16 | kernel built with this option enabled is not compatible with | 16 | kernel built with this option enabled is not compatible with |
17 | other tiles. | 17 | other tiles. |
18 | 18 | ||
19 | config REALVIEW_MPCORE_REVB | ||
20 | bool "Support MPcore RevB tile" | ||
21 | depends on REALVIEW_MPCORE | ||
22 | default n | ||
23 | help | ||
24 | Enable support for the MPCore RevB tile on the Realview platform. | ||
25 | Since there are device address differences, a | ||
26 | kernel built with this option enabled is not compatible with | ||
27 | other tiles. | ||
28 | |||
19 | endmenu | 29 | endmenu |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 00139143dcc1..effe243454e0 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -152,9 +152,9 @@ static void __init gic_init_irq(void) | |||
152 | #ifdef CONFIG_REALVIEW_MPCORE | 152 | #ifdef CONFIG_REALVIEW_MPCORE |
153 | unsigned int pldctrl; | 153 | unsigned int pldctrl; |
154 | writel(0x0000a05f, __io_address(REALVIEW_SYS_LOCK)); | 154 | writel(0x0000a05f, __io_address(REALVIEW_SYS_LOCK)); |
155 | pldctrl = readl(__io_address(REALVIEW_SYS_BASE) + 0xd8); | 155 | pldctrl = readl(__io_address(REALVIEW_SYS_BASE) + REALVIEW_MPCORE_SYS_PLD_CTRL1); |
156 | pldctrl |= 0x00800000; /* New irq mode */ | 156 | pldctrl |= 0x00800000; /* New irq mode */ |
157 | writel(pldctrl, __io_address(REALVIEW_SYS_BASE) + 0xd8); | 157 | writel(pldctrl, __io_address(REALVIEW_SYS_BASE) + REALVIEW_MPCORE_SYS_PLD_CTRL1); |
158 | writel(0x00000000, __io_address(REALVIEW_SYS_LOCK)); | 158 | writel(0x00000000, __io_address(REALVIEW_SYS_LOCK)); |
159 | #endif | 159 | #endif |
160 | gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29); | 160 | gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29); |