summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap5/cpu.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2012-05-29 19:26:41 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:34 +0200
commit702395073fa746f0dcfe6f16f781b4d84645fc40 (patch)
tree652a81818ad8afb7a9eee7e84c3df5ea6db15c66 /arch/arm/include/asm/arch-omap5/cpu.h
parentf8b9d1d30ece82abccefac3c860c06f8b7da8fbb (diff)
downloadtalos-obmc-uboot-702395073fa746f0dcfe6f16f781b4d84645fc40.tar.gz
talos-obmc-uboot-702395073fa746f0dcfe6f16f781b4d84645fc40.zip
ARM: OMAP3+: Detect reset type
Certain modules are not affected by means of a warm reset and need not be configured again. Adding an API to detect the reset reason warm/cold. This will be used to skip the module configurations that are retained across a warm reset. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: R Sricharan <r.sricharan@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h
index 8ef17c9a14..5e62013236 100644
--- a/arch/arm/include/asm/arch-omap5/cpu.h
+++ b/arch/arm/include/asm/arch-omap5/cpu.h
@@ -182,5 +182,7 @@ struct watchdog {
#define PRM_RSTCTRL PRM_DEVICE_BASE
#define PRM_RSTCTRL_RESET 0x01
+#define PRM_RSTST (PRM_DEVICE_BASE + 0x4)
+#define PRM_RSTST_WARM_RESET_MASK 0x7FEA
#endif /* _CPU_H */
OpenPOWER on IntegriCloud