Commit 27bcbd156be8c4272ecafe58758838f02706d313
Committed by
Priyanka Jain
1 parent
137fceb464
Exists in
smarc_8mq_lf_v2020.04
and in
4 other branches
configs: ls1046a: Define ENV_ADDR value
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init. Define value 0x40300000 in QSPI defconfig for LS1046ARDB as value is already defined in TFA. Correct ENV_ADDR and ENV_SECT_SIZE value for LS1046AQDS as per defconfig. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Showing 3 changed files with 5 additions and 3 deletions Side-by-side Diff
configs/ls1046aqds_qspi_defconfig
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | CONFIG_TARGET_LS1046AQDS=y |
3 | 3 | CONFIG_SYS_TEXT_BASE=0x40100000 |
4 | 4 | CONFIG_ENV_SIZE=0x2000 |
5 | -CONFIG_ENV_SECT_SIZE=0x10000 | |
5 | +CONFIG_ENV_SECT_SIZE=0x40000 | |
6 | 6 | CONFIG_ENV_OFFSET=0x300000 |
7 | 7 | CONFIG_FSL_LS_PPA=y |
8 | 8 | CONFIG_NR_DRAM_BANKS=2 |
... | ... | @@ -31,6 +31,7 @@ |
31 | 31 | CONFIG_OF_CONTROL=y |
32 | 32 | CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart" |
33 | 33 | CONFIG_ENV_IS_IN_SPI_FLASH=y |
34 | +CONFIG_ENV_ADDR=0x40300000 | |
34 | 35 | CONFIG_SYS_RELOC_GD_ENV_ADDR=y |
35 | 36 | CONFIG_DM=y |
36 | 37 | CONFIG_SATA_CEVA=y |
configs/ls1046aqds_tfa_defconfig
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | CONFIG_TFABOOT=y |
4 | 4 | CONFIG_SYS_TEXT_BASE=0x82000000 |
5 | 5 | CONFIG_ENV_SIZE=0x2000 |
6 | -CONFIG_ENV_SECT_SIZE=0x20000 | |
6 | +CONFIG_ENV_SECT_SIZE=0x40000 | |
7 | 7 | CONFIG_ENV_OFFSET=0x500000 |
8 | 8 | CONFIG_NR_DRAM_BANKS=2 |
9 | 9 | CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y |
... | ... | @@ -39,7 +39,7 @@ |
39 | 39 | CONFIG_ENV_IS_IN_SPI_FLASH=y |
40 | 40 | CONFIG_USE_ENV_SPI_BUS=y |
41 | 41 | CONFIG_ENV_SPI_BUS=0 |
42 | -CONFIG_ENV_ADDR=0x60500000 | |
42 | +CONFIG_ENV_ADDR=0x40500000 | |
43 | 43 | CONFIG_DM=y |
44 | 44 | CONFIG_SATA_CEVA=y |
45 | 45 | CONFIG_FSL_CAAM=y |
configs/ls1046ardb_qspi_defconfig