summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-12-10 15:02:38 +0100
committerStefan Roese <sr@denx.de>2016-01-14 14:08:59 +0100
commit698ffab239609e75b8de8f7009c06311e8b0b21a (patch)
treee0f126720e8bcae796da79efdc45c2014a6989ed /include
parentbf0db8b82a0f2e1abcb073fe0b72e6b4ba7c5fe0 (diff)
downloadu-boot-imx-698ffab239609e75b8de8f7009c06311e8b0b21a.zip
u-boot-imx-698ffab239609e75b8de8f7009c06311e8b0b21a.tar.gz
u-boot-imx-698ffab239609e75b8de8f7009c06311e8b0b21a.tar.bz2
arm: mvebu: Make ECC support configurable on Armada XP
Currently, ECC support is enabled for all Armada XP boards. So the DDR3 driver tries to configure the controller with ECC support, even on boards without ECC. This patch makes this ECC optional which now can be configured on a board-per-board basis. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include')
-rw-r--r--include/configs/db-mv784mp-gp.h1
-rw-r--r--include/configs/maxbcm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h
index e988f02..c354e6f 100644
--- a/include/configs/db-mv784mp-gp.h
+++ b/include/configs/db-mv784mp-gp.h
@@ -146,5 +146,6 @@
/* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */
#define CONFIG_SYS_MVEBU_DDR_AXP
#define CONFIG_SPD_EEPROM 0x4e
+#define CONFIG_BOARD_ECC_SUPPORT /* this board supports ECC */
#endif /* _CONFIG_DB_MV7846MP_GP_H */
diff --git a/include/configs/maxbcm.h b/include/configs/maxbcm.h
index 49e83c0..23e5526 100644
--- a/include/configs/maxbcm.h
+++ b/include/configs/maxbcm.h
@@ -108,5 +108,6 @@
/* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */
#define CONFIG_SYS_MVEBU_DDR_AXP
#define CONFIG_DDR_FIXED_SIZE (1 << 20) /* 1GiB */
+#define CONFIG_BOARD_ECC_SUPPORT /* this board supports ECC */
#endif /* _CONFIG_DB_MV7846MP_GP_H */