diff mbox

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

Message ID 1447426768-23226-12-git-send-email-valentin.longchamp@keymile.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Valentin Longchamp Nov. 13, 2015, 2:59 p.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>
---

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

Comments

Heiko Schocher Nov. 16, 2015, 11:03 a.m. UTC | #1
Hello Valentin,

Am 13.11.2015 um 15:59 schrieb Valentin Longchamp:
> 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(+)


Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> 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 | \
>
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 | \