summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPo Liu <po.liu@freescale.com>2013-09-26 09:40:11 +0800
committerYork Sun <yorksun@freescale.com>2013-10-24 09:34:56 -0700
commit9c25ee6d3a63d450a89ed5bb35002210a91699a2 (patch)
treecc7ad8f160028942f6a56c2b04909e971c5a77af /include
parent7e575c46c34b5f1316eab39025fdced197629ccb (diff)
downloadtalos-obmc-uboot-9c25ee6d3a63d450a89ed5bb35002210a91699a2.tar.gz
talos-obmc-uboot-9c25ee6d3a63d450a89ed5bb35002210a91699a2.zip
powerpc/c29xpcie: add DDR ECC on off config setting
c29xpcie REV_A board DDR ECC chip has bad impedance in hardware, force that kind of board to be DDR ECC off when booting. Other version board config ECC on/off by hwconfig=fsl_ddr:ecc=on in uboot enviroment. Signed-off-by: Po Liu <Po.Liu@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/C29XPCIE.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index cce2288da8..913e626b31 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -433,6 +433,8 @@
#define CONFIG_BAUDRATE 115200
+#define CONFIG_DEF_HWCONFIG fsl_ddr:ecc=on
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"hwconfig=" __stringify(CONFIG_DEF_HWCONFIG) "\0" \
"netdev=eth0\0" \
OpenPOWER on IntegriCloud