summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
diff options
context:
space:
mode:
authoryork <yorksun@freescale.com>2010-07-02 22:25:54 +0000
committerKumar Gala <galak@kernel.crashing.org>2010-07-26 13:16:09 -0500
commit7fd101c97b58dab7b0bd87f30c3dedb0db21d15f (patch)
treefe0f75ff8b46b1bc0367f6c600418a596eaee446 /arch/powerpc/cpu/mpc85xx/ddr-gen3.c
parent5800e7ab32c200836e81ab2384817d93105561c5 (diff)
downloadu-boot-imx-7fd101c97b58dab7b0bd87f30c3dedb0db21d15f.zip
u-boot-imx-7fd101c97b58dab7b0bd87f30c3dedb0db21d15f.tar.gz
u-boot-imx-7fd101c97b58dab7b0bd87f30c3dedb0db21d15f.tar.bz2
powerpc/8xxx: Enabled address hashing for 85xx
For 85xx silicon which supports address hashing, it can be activated by hwconfig. Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/ddr-gen3.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/ddr-gen3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/ddr-gen3.c b/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
index 0691ca4..e46dcb7 100644
--- a/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
+++ b/arch/powerpc/cpu/mpc85xx/ddr-gen3.c
@@ -33,6 +33,8 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
return;
}
+ out_be32(&ddr->eor, regs->ddr_eor);
+
for (i = 0; i < CONFIG_CHIP_SELECTS_PER_CTRL; i++) {
if (i == 0) {
out_be32(&ddr->cs0_bnds, regs->cs[i].bnds);