summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Nilsson <mattias.i.nilsson@stericsson.com>2012-02-27 16:08:24 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:45 +0200
commitfb6608b3a400f72d383d1e22adf02202ddc39799 (patch)
tree43ef7a620973da858f0979fce4aa940ea38d5a5f
parentc0dafe0857b2ab58268d05228eaee92506e21d89 (diff)
ux500: mfd: db8500-prcmu: add function to read reset status
This patch adds a function that returns the value of the reset status register at startup. It also changes the read of the (software) reset code, so that the saved value is only read at startup. ST Ericsson ID: 366664 ST Ericsson FOSS-OUT ID: trivial Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/include/mach/db8500-regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/db8500-regs.h b/arch/arm/mach-ux500/include/mach/db8500-regs.h
index 1530d493879..d2cc53d3557 100644
--- a/arch/arm/mach-ux500/include/mach/db8500-regs.h
+++ b/arch/arm/mach-ux500/include/mach/db8500-regs.h
@@ -100,6 +100,7 @@
#define U8500_SCR_BASE (U8500_PER4_BASE + 0x05000)
#define U8500_DMC_BASE (U8500_PER4_BASE + 0x06000)
#define U8500_PRCMU_BASE (U8500_PER4_BASE + 0x07000)
+#define U8500_PRCMU_SEC_BASE (U8500_PER4_BASE + 0x08000)
#define U9540_DMC1_BASE (U8500_PER4_BASE + 0x0A000)
#define U8500_PRCMU_TCDM_BASE (U8500_PER4_BASE + 0x68000)
#define U9540_PRCMU_TCDM_BASE (U8500_PER4_BASE + 0x6A000)