]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: PXA3xx: program the CSMSADRCFG register
authorIgor Grinberg <grinberg@compulab.co.il>
Sun, 13 Jan 2013 11:49:47 +0000 (13:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:38 +0000 (05:38 -0800)
commitd725d3b2afca8c83131357aec29a56fc809d5196
tree4737bb3246f163be3a3da53619d1b4020b587621
parentaae0966006dd119434078031c037cd6ef596f87f
ARM: PXA3xx: program the CSMSADRCFG register

commit d107a204154ddd79339203c2deeb7433f0cf6777 upstream.

The Chip Select Configuration Register must be programmed to 0x2 in
order to achieve the correct behavior of the Static Memory Controller.

Without this patch devices wired to DFI and accessed through SMC cannot
be accessed after resume from S2.

Do not rely on the boot loader to program the CSMSADRCFG register by
programming it in the kernel smemc module.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/include/mach/smemc.h
arch/arm/mach-pxa/smemc.c