powerpc/85xx: Enable ECC on MPC8572DS
authorYork Sun <yorksun@freescale.com>
Wed, 26 Jan 2011 05:51:29 +0000 (21:51 -0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 3 Feb 2011 08:46:13 +0000 (02:46 -0600)
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

index 8f333a612bd665718cb5b8db7149ef7963dd5383..bf2fdd668207e8209ee543aaf39aa7b7459a86fd 100644 (file)
 #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