]> git.sur5r.net Git - u-boot/commit
powerpc/8xxx: Fix bug in memctrl interleaving & bank interleaving on cs0~cs4
authoryork <yorksun@freescale.com>
Fri, 2 Jul 2010 22:25:52 +0000 (22:25 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 26 Jul 2010 18:16:09 +0000 (13:16 -0500)
commit076bff8f4746baf7c83b96049d97e9dd4454dace
tree8a55f11be0a24163a7c6e59686b72b91ae4ea3d8
parent79e4e6480b359cb28129cecfa2cae0ef9cccf803
powerpc/8xxx: Fix bug in memctrl interleaving & bank interleaving on cs0~cs4

Verified on MPC8641HPCN with four DDR2 dimms. Each dimm has dual
rank with 512MB each rank.

Also check dimm size and rank size for memory controller interleaving

Signed-off-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
arch/powerpc/cpu/mpc8xxx/ddr/main.c
arch/powerpc/cpu/mpc8xxx/ddr/options.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
doc/README.fsl-ddr
include/configs/MPC8641HPCN.h