Message ID | 1569827314-11558-1-git-send-email-kuldeep.singh@nxp.com |
---|---|
State | Accepted |
Commit | 6972c60f8c54f77bcdb43139b3765fe6f4a4366a |
Delegated to: | Priyanka Jain |
Headers | show |
Series | [U-Boot] configs: ls1012afrwy: Add CONFIG_ENV_ADDR for LS1012AFRWY | expand |
>-----Original Message----- >From: Kuldeep Singh <kuldeep.singh@nxp.com> >Sent: Monday, September 30, 2019 12:39 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain <priyanka.jain@nxp.com>; vinitha.pillai@nxp.com; Kuldeep >Singh <kuldeep.singh@nxp.com> >Subject: [PATCH] configs: ls1012afrwy: Add CONFIG_ENV_ADDR for >LS1012AFRWY > >This configuration helps in picking the environment from flash before DDR >init. > >Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> >--- > include/configs/ls1012afrwy.h | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h >index 12e6437a05..14e63204c6 100644 >--- a/include/configs/ls1012afrwy.h >+++ b/include/configs/ls1012afrwy.h >@@ -23,6 +23,11 @@ > #define CONFIG_SYS_MEMTEST_START 0x80000000 > #define CONFIG_SYS_MEMTEST_END 0x9fffffff > >+/* ENV */ >+#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000 >+#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + >\ >+ CONFIG_ENV_OFFSET) >+ > #ifndef CONFIG_SPL_BUILD > #undef BOOT_TARGET_DEVICES > #define BOOT_TARGET_DEVICES(func) \ >-- >2.17.1 Slight update in subject and description. Applied to fsl-qoriq master, awaiting upstream. Thanks priyankajain
diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h index 12e6437a05..14e63204c6 100644 --- a/include/configs/ls1012afrwy.h +++ b/include/configs/ls1012afrwy.h @@ -23,6 +23,11 @@ #define CONFIG_SYS_MEMTEST_START 0x80000000 #define CONFIG_SYS_MEMTEST_END 0x9fffffff +/* ENV */ +#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000 +#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + \ + CONFIG_ENV_OFFSET) + #ifndef CONFIG_SPL_BUILD #undef BOOT_TARGET_DEVICES #define BOOT_TARGET_DEVICES(func) \
This configuration helps in picking the environment from flash before DDR init. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> --- include/configs/ls1012afrwy.h | 5 +++++ 1 file changed, 5 insertions(+)