diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-03-29 16:53:29 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-05-24 22:11:48 +0200 |
commit | 118718905de6e32c11e09a8f41c7abff6155ba19 (patch) | |
tree | 1edc391f526bc4021f1eb41ff71c645d75be71d6 /arch/arm/mach-ux500/cpu-db8500.c | |
parent | 9f3c645c68a42083117bbfeaa9aadb053b494090 (diff) | |
download | talos-op-linux-118718905de6e32c11e09a8f41c7abff6155ba19.tar.gz talos-op-linux-118718905de6e32c11e09a8f41c7abff6155ba19.zip |
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.c | 2 |
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 516126cb357d..3d419fef0470 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[] = { |