summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorValentine Barshak <vbarshak@ru.mvista.com>2009-04-23 12:55:06 +0200
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2009-04-24 15:02:37 +0200
commit644e28f3426810710b176080cc906995ebc24b63 (patch)
tree76da9f4ecaca85fbc37e59ab12e06244caf9c0bb /mm
parentmaintainers: Fix PowerPC 4xx git tree (diff)
downloadlinux-644e28f3426810710b176080cc906995ebc24b63.tar.xz
linux-644e28f3426810710b176080cc906995ebc24b63.zip
powerpc/44x: Correct memory size calculation for denali-based boards
Some U-Boot versions incorrectly set the number of chipselects to two for Sequoia/Rainier boards while they only have one chipselect hardwired. This patch adds a workaround for this, hardcoding the number of chipselects to one for sequioa/rainer board models and reading the actual value from the memory controller register DDR0_10 otherwise. It also fixes another error in the way ibm4xx_denali_fixup_memsize calculates memory size. When testing the DDR_REDUC bit, the polarity is backwards. A "1" implies 32-bit wide memory while a "0" implies 64-bit wide memory. Signed-off-by: Mikhail Zolotaryov <lebon@lebon.org.ua> Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Signed-off-by: Steven A. Falco <sfalco@harris.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions