linux-sg2042/arch/arm/mach-pxa
Dmitry Krivoschekov 86260f9873 [ARM] 4824/1: pxa: clear RDH bit after any reset
According to PXA300/310 and PXA320 Developer manuals,
the ASCR[RDH] "bit needs to be cleared as part of the software
initialization coming out of any reset and coming out of D3".
The latter requirement is addressed by commit
"c4d1fb627ff3072", as for the former (coming out of any reset),
the kernel relies on boot loaders and assumes that RDH bit
is cleared there. Though, not all bootloaders follow the rule
so we have to clear the bit in kernel.

We clear the RDH bit in pxa3xx_init() function since
it is always invoked after any reset. We also preserve D1S, D2S
and D3S bits from being cleared in case we invoke pxa3xx_init()
function not from normal hardware reset (e.g. kexec scenario),
so these bits can be properly referenced later.

Signed-off-by: Dmitry Krivoschekov <dmitry.krivoschekov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-02-09 22:43:14 +00:00
..
Kconfig [ARM] 4762/1: Basic support for Toradex Colibri module 2008-01-28 13:13:27 +00:00
Makefile gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
akita-ioexp.c i2c: normal_i2c can be made const (remaining drivers) 2008-01-27 18:14:47 +01:00
clock.c [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
clock.h [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
cm-x270-pci.c [ARM] 4667/1: CM-X270 fixes 2007-12-08 14:35:43 +00:00
cm-x270-pci.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
cm-x270.c [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h 2008-02-04 13:17:34 +00:00
colibri.c [ARM] 4762/1: Basic support for Toradex Colibri module 2008-01-28 13:13:27 +00:00
corgi.c [ARM] pxa: fix mci_init functions returning -1 2008-01-28 13:13:26 +00:00
corgi_lcd.c [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c arch/arm/: Spelling fixes 2008-02-03 16:49:43 +02:00
cpu-pxa.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
devices.c [ARM] pxa: fix the warning of undeclared "struct pxaohci_platform_data" 2008-02-04 13:17:32 +00:00
devices.h [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +00:00
dma.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
em-x270.c [ARM] 4475/2: EM-x270 board support 2007-07-20 17:45:15 +01:00
eseries.c [ARM] 4649/1: Base support for pxa-based Toshiba e-series PDAs. 2008-01-28 13:13:13 +00:00
generic.c gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
generic.h gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
gpio.c gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
idp.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
irq.c gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
leds-idp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-lubbock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-mainstone.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-trizeps4.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
leds.c [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
littleton.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
lpd270.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
lubbock.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
magician.c [ARM] 4664/1: Add basic support for HTC Magician PDA phones 2008-01-28 13:13:16 +00:00
mainstone.c [ARM] pxa: fix mci_init functions returning -1 2008-01-28 13:13:26 +00:00
mfp.c [ARM] pxa: add preliminary suspend/resume code for pxa3xx 2008-02-04 13:17:33 +00:00
pcm027.c [ARM] 4798/1: pcm027: fix missing header file 2008-02-04 13:17:34 +00:00
pcm990-baseboard.c [ARM] 4747/1: pcm027: support for pcm990 baseboard for phyCORE-PXA270 2008-01-28 13:13:24 +00:00
pm.c [ARM] pxa: skip registers saving/restoring if entering standby mode 2008-01-26 15:07:57 +00:00
poodle.c [ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1 2008-02-04 13:17:34 +00:00
pxa3xx.c [ARM] 4824/1: pxa: clear RDH bit after any reset 2008-02-09 22:43:14 +00:00
pxa25x.c [ARM] pxa: introduce sysdev for GPIO register saving/restoring 2008-02-04 13:17:33 +00:00
pxa27x.c [ARM] pxa: introduce sysdev for GPIO register saving/restoring 2008-02-04 13:17:33 +00:00
pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pxa320.c [ARM] 4675/1: pxa: fix mfp address definition error for pxa320 2007-11-29 20:52:54 +00:00
sharpsl.h [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sleep.S [ARM] pxa: add preliminary suspend/resume code for pxa3xx 2008-02-04 13:17:33 +00:00
smemc.c [ARM] pxa: introduce sysdev for pxa3xx static memory controller 2008-02-04 13:17:33 +00:00
spitz.c [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h 2008-02-04 13:17:34 +00:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
ssp.c Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
standby.S [ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme 2008-01-26 15:07:56 +00:00
time.c [ARM] pxa: fix PXA27x resume 2008-01-26 15:07:57 +00:00
tosa.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-02-07 12:57:44 -08:00
trizeps4.c [ARM] pxa: fix mci_init functions returning -1 2008-01-28 13:13:26 +00:00
zylonite.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
zylonite_pxa300.c [ARM] pxa: Add zylonite MFP wakeup configurations 2008-01-26 15:07:56 +00:00
zylonite_pxa320.c [ARM] pxa: Add zylonite MFP wakeup configurations 2008-01-26 15:07:56 +00:00