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>
Showing
- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c 74 additions, 39 deletionsarch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
- arch/powerpc/cpu/mpc8xxx/ddr/ddr.h 1 addition, 0 deletionsarch/powerpc/cpu/mpc8xxx/ddr/ddr.h
- arch/powerpc/cpu/mpc8xxx/ddr/main.c 20 additions, 20 deletionsarch/powerpc/cpu/mpc8xxx/ddr/main.c
- arch/powerpc/cpu/mpc8xxx/ddr/options.c 89 additions, 18 deletionsarch/powerpc/cpu/mpc8xxx/ddr/options.c
- board/freescale/mpc8641hpcn/mpc8641hpcn.c 2 additions, 0 deletionsboard/freescale/mpc8641hpcn/mpc8641hpcn.c
- doc/README.fsl-ddr 3 additions, 0 deletionsdoc/README.fsl-ddr
- include/configs/MPC8641HPCN.h 2 additions, 0 deletionsinclude/configs/MPC8641HPCN.h
Loading
Please register or sign in to comment