diff mbox

[U-Boot,v2,09/15] powerpc/km8309: define CONFIG_SYS_DDRCDR

Message ID 1447754018-12365-10-git-send-email-valentin.longchamp@keymile.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Valentin Longchamp Nov. 17, 2015, 9:53 a.m. UTC
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>
---

Changes in v2: None

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

Comments

Tom Rini Nov. 18, 2015, 10:36 p.m. UTC | #1
On Tue, Nov 17, 2015 at 10:53:32AM +0100, Valentin Longchamp wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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 | \