diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 22:57:44 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 17:09:26 -0500 |
commit | b13159afb46f8a528fcf30bac26c07dbb40a784a (patch) | |
tree | c838c9b8f3fb59c27b89569fe8d18863984b4349 /arch/arm/mach-omap2/prm.h | |
parent | d9a16f9ab9332b7cf1c95086a4efb98a0d13a57a (diff) |
ARM: OMAP2+: PRCM: consolidate PRCM-related timeout macros
Consolidate all of the copies of MAX_MODULE_HARDRESET_WAIT and
MAX_MODULE_SOFTRESET_WAIT into one place, arch/arm/mach-omap2/prm.h.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r-- | arch/arm/mach-omap2/prm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h index fb7dee29ce76..a1a266ce90da 100644 --- a/arch/arm/mach-omap2/prm.h +++ b/arch/arm/mach-omap2/prm.h | |||
@@ -20,6 +20,23 @@ extern void __iomem *prm_base; | |||
20 | extern void omap2_set_globals_prm(void __iomem *prm); | 20 | extern void omap2_set_globals_prm(void __iomem *prm); |
21 | # endif | 21 | # endif |
22 | 22 | ||
23 | |||
24 | /* | ||
25 | * MAX_MODULE_SOFTRESET_WAIT: Maximum microseconds to wait for OMAP | ||
26 | * module to softreset | ||
27 | */ | ||
28 | #define MAX_MODULE_SOFTRESET_WAIT 10000 | ||
29 | |||
30 | /* | ||
31 | * MAX_MODULE_HARDRESET_WAIT: Maximum microseconds to wait for an OMAP | ||
32 | * submodule to exit hardreset | ||
33 | */ | ||
34 | #define MAX_MODULE_HARDRESET_WAIT 10000 | ||
35 | |||
36 | /* | ||
37 | * Register bitfields | ||
38 | */ | ||
39 | |||
23 | /* | 40 | /* |
24 | * 24XX: PM_PWSTST_CORE, PM_PWSTST_GFX, PM_PWSTST_MPU, PM_PWSTST_DSP | 41 | * 24XX: PM_PWSTST_CORE, PM_PWSTST_GFX, PM_PWSTST_MPU, PM_PWSTST_DSP |
25 | * | 42 | * |