summaryrefslogtreecommitdiff
path: root/include/configs/ls1021atwr.h
diff options
context:
space:
mode:
authorAlison Wang <alison.wang@nxp.com>2019-03-06 09:49:14 +0300
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-03-15 09:22:01 +0300
commit158097052a6a528408e05d2345ff2ccdbb46036e (patch)
tree78453d3d716aef5368b91a620203c0487fe6f378 /include/configs/ls1021atwr.h
parentba7eadd8e107202ab90d0b2937044b6dcba4b7ae (diff)
downloadu-boot-158097052a6a528408e05d2345ff2ccdbb46036e.tar.xz
armv7: ls102xa: Add workaround for DDR erratum A-008850
Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'include/configs/ls1021atwr.h')
-rw-r--r--include/configs/ls1021atwr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 4b6760b600..da55bf2f43 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -104,6 +104,8 @@
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL
#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
+#define CONFIG_CHIP_SELECTS_PER_CTRL 4
+
#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_NAND_BOOT) && \
!defined(CONFIG_QSPI_BOOT)
#define CONFIG_SYS_QE_FMAN_FW_IN_NOR