[U-Boot] [PATCH 11/17] powerpc/km8309: define CONFIG_SYS_DDRCDR

Valentin Longchamp
2015-11-13T14:59:22Z

For consistency with all the other km83xx plaforms, this should also be
defined for km8309. The same settings as for km8321 are taken.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
---

include/configs/km/km8309-common.h | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/include/configs/km/km8309-common.h b/include/configs/km/km8309-common.h
index ec133f9..d7f6cb1 100644
--- a/include/configs/km/km8309-common.h
+++ b/include/configs/km/km8309-common.h
@@ -99,6 +99,12 @@
HRCWH_BIG_ENDIAN | \
HRCWH_LALE_NORMAL)

+#define CONFIG_SYS_DDRCDR (\
+ DDRCDR_EN | \
+ DDRCDR_PZ_MAXZ | \
+ DDRCDR_NZ_MAXZ | \
+ DDRCDR_M_ODR)
+
#define CONFIG_SYS_DDR_CS0_BNDS 0x0000007f
#define CONFIG_SYS_DDR_SDRAM_CFG (SDRAM_CFG_SDRAM_TYPE_DDR2 | \
SDRAM_CFG_32_BE | \
--
1.8.3.1