summaryrefslogtreecommitdiff
path: root/include/configs/ls1088a_common.h
diff options
context:
space:
mode:
authorAshish Kumar <Ashish.Kumar@nxp.com>2017-12-14 17:37:09 +0530
committerYork Sun <york.sun@nxp.com>2018-01-17 10:30:54 -0800
commit2eb2dbd4577898bf289e911b2286df3f2363af6e (patch)
treebd14f6b559851c6203f3e1bdf1ffd8e1b67605cf /include/configs/ls1088a_common.h
parentb500c92b70e8e103ca75f95e4b0e97d92dddf185 (diff)
armv8: ls1088ardb: Add environment variable address location for QSPI-NOR
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1088a_common.h')
-rw-r--r--include/configs/ls1088a_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index e68488416c..61c30c9eaa 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -45,6 +45,12 @@
#define CONFIG_SUPPORT_RAW_INITRD
+#ifdef CONFIG_QSPI_BOOT
+#define CONFIG_SYS_FSL_QSPI_BASE 0x20000000
+#define CONFIG_ENV_OFFSET 0x300000 /* 3MB */
+#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + \
+ CONFIG_ENV_OFFSET)
+#endif
#define CONFIG_SKIP_LOWLEVEL_INIT