aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1046afrwy.h
diff options
context:
space:
mode:
authorAlison Wang <alison.wang@nxp.com>2019-07-22 07:17:21 +0000
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-08-22 09:07:36 +0530
commit64fb43dfae4f1d28278c674bbce3bf2b745e9b31 (patch)
tree0ea54cead038c212125d9188eb7c48f11624b476 /include/configs/ls1046afrwy.h
parent2e35d07658c885c604048f43eb7d562840843c7d (diff)
downloadu-boot-64fb43dfae4f1d28278c674bbce3bf2b745e9b31.zip
u-boot-64fb43dfae4f1d28278c674bbce3bf2b745e9b31.tar.gz
u-boot-64fb43dfae4f1d28278c674bbce3bf2b745e9b31.tar.bz2
armv8: ls1046afrwy: Define CONFIG_ENV_ADDR for QSPI Boot
Defines CONFIG_ENV_ADDR for QSPI Boot which specifies the start address of the flash sector containing the environment. It fixes the issue that bootcmd is always set as default at bootup. Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'include/configs/ls1046afrwy.h')
-rw-r--r--include/configs/ls1046afrwy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h
index 791bb8d..8609ebf 100644
--- a/include/configs/ls1046afrwy.h
+++ b/include/configs/ls1046afrwy.h
@@ -103,6 +103,9 @@
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
#define CONFIG_ENV_OFFSET 0x500000 /* 5MB */
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
+#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000
+#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + \
+ CONFIG_ENV_OFFSET)
/* FMan */
#ifdef CONFIG_SYS_DPAA_FMAN