From fb6608b3a400f72d383d1e22adf02202ddc39799 Mon Sep 17 00:00:00 2001 From: Mattias Nilsson Date: Mon, 27 Feb 2012 16:08:24 +0100 Subject: 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 --- arch/arm/mach-ux500/include/mach/db8500-regs.h | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3