summaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2017-05-16 02:45:59 (GMT)
committerYork Sun <york.sun@nxp.com>2017-05-23 16:51:28 (GMT)
commit8104deb2d6b77d3793a66016bf993bccd8f6afe2 (patch)
treebce7f38fb81f6b0e76d18eab02dbf082dc766281 /include/configs/ls1046ardb.h
parenta9a5cef391ed5b2e47ed02a8cecf0ab1a19fc76a (diff)
downloadu-boot-8104deb2d6b77d3793a66016bf993bccd8f6afe2.tar.xz
armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1046A
This patch is to adjust the memory mapping for FLash/SD card on LS1046AQDS and LS1046ARDB, such as FMAN firmware load address, U-Boot start address on serial flash and environment address. Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1046ardb.h')
-rw-r--r--include/configs/ls1046ardb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 7161ee8..6f649a6 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -169,12 +169,12 @@
#if defined(CONFIG_SD_BOOT)
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0
-#define CONFIG_ENV_OFFSET (1024 * 1024)
+#define CONFIG_ENV_OFFSET (3 * 1024 * 1024)
#define CONFIG_ENV_SIZE 0x2000
#else
#define CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
-#define CONFIG_ENV_OFFSET 0x200000 /* 2MB */
+#define CONFIG_ENV_OFFSET 0x300000 /* 3MB */
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
#endif