Patchwork [U-Boot,5/5] poewrpc/85xx: Enable ECC on MPC8572DS

login
register
mail settings
Submitter Kumar Gala
Date Jan. 26, 2011, 6:22 a.m.
Message ID <1296022938-19899-5-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/80452/
State Accepted
Commit d34897d32985c056efa1efd5ce7f1544a8c02fc3
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Jan. 26, 2011, 6:22 a.m.
From: York Sun <yorksun@freescale.com>

Using hwconfig to turn on/off ECC, without re-compiling.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 include/configs/MPC8572DS.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Kumar Gala - Feb. 1, 2011, 4:39 a.m.
On Jan 26, 2011, at 12:22 AM, Kumar Gala wrote:

> From: York Sun <yorksun@freescale.com>
> 
> Using hwconfig to turn on/off ECC, without re-compiling.
> 
> Signed-off-by: York Sun <yorksun@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> include/configs/MPC8572DS.h |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied to 85xx

- k

Patch

diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 8f333a6..bf2fdd6 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -136,6 +136,7 @@ 
 #define CONFIG_SPD_EEPROM		/* Use SPD EEPROM for DDR setup */
 #define CONFIG_DDR_SPD
 
+#define CONFIG_DDR_ECC
 #define CONFIG_ECC_INIT_VIA_DDRCONTROLLER
 #define CONFIG_MEM_INIT_VALUE	0xDeadBeef