summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@nxp.com>2022-01-21 14:56:27 -0600
committerNitin Garg <nitin.garg@nxp.com>2022-01-27 10:25:01 -0600
commit06d688e8193ffdb5461bf3485aaf782ff98791b0 (patch)
tree875450b49b1faa8ac7b24c4da915c1346b1b85fa
parent00034b66a22c3d902e68ba2304ed6dbd8d5b5893 (diff)
LF-5372: Reserve DDR ECC region for DXL
When the 1st 16MB of DDR is ECC protected, the end of DDR region is reserved for ECC data - 1MB out of 512M and 2MB out of 1024M config. Signed-off-by: Nitin Garg <nitin.garg@nxp.com> (cherry picked from commit 0d9a65af80bfd6d2b10657e84a3e509f787dfb1f)
-rw-r--r--include/configs/imx8dxl_evk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/imx8dxl_evk.h b/include/configs/imx8dxl_evk.h
index 4d2df35987..ccd81ab5da 100644
--- a/include/configs/imx8dxl_evk.h
+++ b/include/configs/imx8dxl_evk.h
@@ -290,9 +290,9 @@
/* total DDR is 1GB */
#if defined(CONFIG_TARGET_IMX8DXL_DDR3_EVK)
-#define PHYS_SDRAM_1_SIZE 0x20000000
+#define PHYS_SDRAM_1_SIZE 0x1FF00000 /* 512MB - ECC region 1MB */
#else
-#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */
+#define PHYS_SDRAM_1_SIZE 0x3FE00000 /* 1 GB - ECC region 2MB */
#endif
#define PHYS_SDRAM_2_SIZE 0x00000000