aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db8500.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-03-29 16:53:29 +0200
committerLinus Walleij <linus.walleij@linaro.org>2011-05-24 22:11:48 +0200
commit118718905de6e32c11e09a8f41c7abff6155ba19 (patch)
tree1edc391f526bc4021f1eb41ff71c645d75be71d6 /arch/arm/mach-ux500/cpu-db8500.c
parent9f3c645c68a42083117bbfeaa9aadb053b494090 (diff)
downloadkernel_samsung_smdk4412-118718905de6e32c11e09a8f41c7abff6155ba19.zip
kernel_samsung_smdk4412-118718905de6e32c11e09a8f41c7abff6155ba19.tar.gz
kernel_samsung_smdk4412-118718905de6e32c11e09a8f41c7abff6155ba19.tar.bz2
mach-ux500: make PRCMU base address dynamic
This makes the PRCMU base address be selected at runtime for U8500 and U5500 instead of being compiled-in. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 516126c..3d419fe 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -87,6 +87,8 @@ void __init u8500_map_io(void)
iotable_init(u8500_v1_io_desc, ARRAY_SIZE(u8500_v1_io_desc));
else if (cpu_is_u8500v2())
iotable_init(u8500_v2_io_desc, ARRAY_SIZE(u8500_v2_io_desc));
+
+ _PRCMU_BASE = __io_address(U8500_PRCMU_BASE);
}
static struct resource db8500_pmu_resources[] = {