]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:23:44 +0000 (03:23 +0000)
commitf51cb5d14fe696356c6e4118d0a6a4b533154dba
tree1f2a4d00457ab3e975bbe2ff766153b9c4d57700
parent0af31617ad5cf724312c90f78ed95cb6988c3d6f
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: Ben Hutchings <ben@decadent.org.uk>
arch/arm/mach-pxa/include/mach/smemc.h
arch/arm/mach-pxa/smemc.c