OMAP: CM: Move MAX_MODULE_READY_TIME to cm.h
authorBenoit Cousson <b-cousson@ti.com>
Thu, 20 May 2010 18:31:08 +0000 (12:31 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:08 +0000 (12:31 -0600)
commitd9e6625c70ff007ae246c9d62f8cdec8d08b2457
treef10388b8693520d4f42420605657cac148ca4eb5
parent53934aa74d49daa7c31c38028fd05c99475489d6
OMAP: CM: Move MAX_MODULE_READY_TIME to cm.h

The maximum timeout to wait for the PRCM to request that a module
exit idle or reach functionnal state is common to OMAP2/3/4 SoCs,
so, move it to the chip family-common cm.h include file.

Reduce the timeout from 20 ms to 2 ms.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm.c
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/cm4xxx.c