aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-db5500/prcmu.h
diff options
context:
space:
mode:
authoraurla000 <apparao.urla@stericsson.com>2011-12-06 12:11:43 +0530
committerPreetham-rao K <preetham.rao@stericsson.com>2011-12-08 06:48:55 +0100
commitb439354b7c8911f493322d6e16d3b63fdf7c4706 (patch)
treed9f81b1b8968bf0c49f6b97dcb19928da67ad211 /include/asm-arm/arch-db5500/prcmu.h
parent0f0a9c2c687750223f009cba4f9588708d683940 (diff)
u5500: Support to store crashdump to SD card
The support for storing the crashdump from kernel to SD card on softreset is provided in u-boot. ST-Ericsson ID: 340331 ST-Ericsson FOSS-OUT ID: NA Signed-off-by: aurla000 <apparao.urla@stericsson.com> Change-Id: I34131a6b6e25b99e202f444daca66f2d67b4cde6 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41225 Reviewed-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Naveen Kumar GADDIPATI <naveen.gaddipati@stericsson.com> Reviewed-by: Preetham-rao K <preetham.rao@stericsson.com>
Diffstat (limited to 'include/asm-arm/arch-db5500/prcmu.h')
-rw-r--r--include/asm-arm/arch-db5500/prcmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db5500/prcmu.h b/include/asm-arm/arch-db5500/prcmu.h
index 837e991e7..189095131 100644
--- a/include/asm-arm/arch-db5500/prcmu.h
+++ b/include/asm-arm/arch-db5500/prcmu.h
@@ -39,6 +39,11 @@
#define PRCM_PLLARM_FREQ_REG (PRCMU_BASE + 0x088)
#define PRCM_PLLDDR_FREQ_REG (PRCMU_BASE + 0x08C)
#define PRCM_ARM_CHGCLKREQ_REG (PRCMU_BASE + 0x114)
+#define PRCM_RESET_STATUS (PRCMU_BASE + 0x103C)
+#define PRCM_A9_CPU_WATCHDOG_RESET (0x00000003)
#define PRCM_TCR (PRCMU_BASE + 0x1C8)
+
+int prcmu_crashed(void);
+
#endif /* __MACH_PRCMU_U5500_H */