diff mbox series

[U-Boot,RESEND,v2] configs: ls1012ardb: Add CONFIG_ENV_ADDR for LS1012ARDB

Message ID 1568798891-17706-1-git-send-email-kuldeep.singh@nxp.com
State Accepted
Commit 60b0055ba53ac908715be27404c9f4790a3b36f8
Delegated to: Priyanka Jain
Headers show
Series [U-Boot,RESEND,v2] configs: ls1012ardb: Add CONFIG_ENV_ADDR for LS1012ARDB | expand

Commit Message

Kuldeep Singh Sept. 18, 2019, 9:28 a.m. UTC
This configuration helps in picking the environment from flash before
DDR init.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
v2:
Reword commit message

 include/configs/ls1012ardb.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Priyanka Jain Oct. 22, 2019, 4:34 a.m. UTC | #1
>-----Original Message-----
>From: Kuldeep Singh <kuldeep.singh@nxp.com>
>Sent: Wednesday, September 18, 2019 2:58 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain <priyanka.jain@nxp.com>; Rajesh Bhagat
><rajesh.bhagat@nxp.com>; Ashish Kumar <ashish.kumar@nxp.com>; Kuldeep
>Singh <kuldeep.singh@nxp.com>; Ashish Kumar <ashish.kumar@nxp.com>
>Subject: [RESEND][PATCH v2] configs: ls1012ardb: Add CONFIG_ENV_ADDR for
>LS1012ARDB
>
>This configuration helps in picking the environment from flash before DDR
>init.
>
>Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
>Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
>---
<snip>

Slight update in subject and description.
Applied to fsl-qoriq master, awaiting upstream.

Thanks
priyankajain
diff mbox series

Patch

diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index f6640fa499..a5e27404f8 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -17,6 +17,10 @@ 
 #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)
 /*
  * I2C IO expander
  */