OMAP4: PRCM: move global reset function for OMAP4 to an OMAP4-specific file
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:05:14 +0000 (21:05 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:05:14 +0000 (21:05 -0700)
commitdac9a77120e2724e22696f06f3ecb4838da1e3e4
tree7f7d91166a35efcdd4daf3e161e6532892250ef1
parent2ace831ffc8feaffb8bc03da89ff43d948efdc97
OMAP4: PRCM: move global reset function for OMAP4 to an OMAP4-specific file

Move the OMAP4 global software reset function to the OMAP4-specific
prm44xx.c file, where it belongs.  Part of the long-term process of
moving all of the direct PRCM register writes into lower-layer code.

Also add OCP barriers on OMAP2/3/4 to reduce the chance that the MPU
will continue executing while the system is supposed to be resetting
itself.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/prcm.c
arch/arm/mach-omap2/prm44xx.c
arch/arm/mach-omap2/prm44xx.h