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/hdq1w.c | |
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/hdq1w.c')
-rw-r--r-- | arch/arm/mach-omap2/hdq1w.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/hdq1w.c b/arch/arm/mach-omap2/hdq1w.c index 3da8900598c8..ab7bf181a105 100644 --- a/arch/arm/mach-omap2/hdq1w.c +++ b/arch/arm/mach-omap2/hdq1w.c | |||
@@ -31,11 +31,9 @@ | |||
31 | #include "omap_device.h" | 31 | #include "omap_device.h" |
32 | #include "hdq1w.h" | 32 | #include "hdq1w.h" |
33 | 33 | ||
34 | #include "prm.h" | ||
34 | #include "common.h" | 35 | #include "common.h" |
35 | 36 | ||
36 | /* Maximum microseconds to wait for OMAP module to softreset */ | ||
37 | #define MAX_MODULE_SOFTRESET_WAIT 10000 | ||
38 | |||
39 | /** | 37 | /** |
40 | * omap_hdq1w_reset - reset the OMAP HDQ1W module | 38 | * omap_hdq1w_reset - reset the OMAP HDQ1W module |
41 | * @oh: struct omap_hwmod * | 39 | * @oh: struct omap_hwmod * |