summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db5500.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-db5500.c
parent9f3c645c68a42083117bbfeaa9aadb053b494090 (diff)
downloadtalos-obmc-linux-118718905de6e32c11e09a8f41c7abff6155ba19.tar.gz
talos-obmc-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-db5500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db5500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db5500.c b/arch/arm/mach-ux500/cpu-db5500.c
index c9dc2eff3cb2..c01bc19e3c5e 100644
--- a/arch/arm/mach-ux500/cpu-db5500.c
+++ b/arch/arm/mach-ux500/cpu-db5500.c
@@ -188,6 +188,8 @@ void __init u5500_map_io(void)
ux500_map_io();
iotable_init(u5500_io_desc, ARRAY_SIZE(u5500_io_desc));
+
+ _PRCMU_BASE = __io_address(U5500_PRCMU_BASE);
}
static int usb_db5500_rx_dma_cfg[] = {
OpenPOWER on IntegriCloud