[ARM] pxa: cpufreq-pxa2xx: sdram_rows detection support
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 29 Jun 2008 14:53:34 +0000 (16:53 +0200)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:43:47 +0000 (14:43 +0800)
commita10c287d393bdd32127d59f3ec8fd7bb80e2fa05
tree00b75d4d4839eb4eaa56cc301e84dd207420ed54
parent65587f7d154ac58f4ff100c240640c71abec41dd
[ARM] pxa: cpufreq-pxa2xx: sdram_rows detection support

This patch implements Eric Miao's idea to detect the correct value of
sdram_rows by inspecting the MDCNFG register settings.
It is only tested on two pxa27x devices with 64MB RAM (magician and
hx4700) so far.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/cpufreq-pxa2xx.c
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h