powerpc/mpc8xxx: Set inactive csn_bnds to 0xffffffff
authorYork Sun <yorksun@freescale.com>
Tue, 25 Jun 2013 18:37:45 +0000 (11:37 -0700)
committerYork Sun <yorksun@freescale.com>
Fri, 9 Aug 2013 19:41:39 +0000 (12:41 -0700)
commitd8556db1d4d97b03b7868cae12800ecee877c8b4
tree2a557d4b97d84b01ef3aa3100249bad2d208d8b4
parent1cb19fbb31dc7fd2c3a15667c60c6296d392f96c
powerpc/mpc8xxx: Set inactive csn_bnds to 0xffffffff

When chip select interleaving is enabled, cs0_bnds is used for address
binding. Other csn_bnds are not used. When two controllers interleaving is
enabled, cs0_bnds of both controllers are used, other csn_bnds are not.
However, the unused csn_bnds may be used internally for calculating
addresses for calibration. Setting those registers to 0 may confuse
controllers in some cases. Instead, setting them to 0xffffffff together
with normal LAWs will guarantee the address is not mapped to DDR.

Signed-off-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
arch/powerpc/cpu/mpc8xxx/ddr/main.c