Skip to content

Commit 64fb43d

Browse files
alisonwhPrabhakar Kushwaha
authored and
Prabhakar Kushwaha
committedAug 22, 2019
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 <[email protected]> Reviewed-by: Prabhakar Kushwaha <[email protected]>
1 parent 2e35d07 commit 64fb43d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎include/configs/ls1046afrwy.h

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
104104
#define CONFIG_ENV_OFFSET 0x500000 /* 5MB */
105105
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
106+
#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000
107+
#define CONFIG_ENV_ADDR (CONFIG_SYS_FSL_QSPI_BASE + \
108+
CONFIG_ENV_OFFSET)
106109

107110
/* FMan */
108111
#ifdef CONFIG_SYS_DPAA_FMAN

0 commit comments

Comments
 (0)