From 2eb2dbd4577898bf289e911b2286df3f2363af6e Mon Sep 17 00:00:00 2001 From: Ashish Kumar Date: Thu, 14 Dec 2017 17:37:09 +0530 Subject: armv8: ls1088ardb: Add environment variable address location for QSPI-NOR Signed-off-by: Ashish Kumar Reviewed-by: York Sun --- include/configs/ls1088a_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/ls1088a_common.h') 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 -- cgit