summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryork <yorksun@freescale.com>2010-07-02 22:25:52 +0000
committerKumar Gala <galak@kernel.crashing.org>2010-07-26 13:16:09 -0500
commit076bff8f4746baf7c83b96049d97e9dd4454dace (patch)
tree8a55f11be0a24163a7c6e59686b72b91ae4ea3d8 /include
parent79e4e6480b359cb28129cecfa2cae0ef9cccf803 (diff)
downloadu-boot-imx-076bff8f4746baf7c83b96049d97e9dd4454dace.zip
u-boot-imx-076bff8f4746baf7c83b96049d97e9dd4454dace.tar.gz
u-boot-imx-076bff8f4746baf7c83b96049d97e9dd4454dace.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC8641HPCN.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 0d1f779..974cb6b 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -122,6 +122,8 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_CCSRBAR_PHYS CONFIG_SYS_CCSRBAR_PHYS_LOW
#endif
+#define CONFIG_HWCONFIG /* use hwconfig to control memory interleaving */
+
/*
* DDR Setup
*/