]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1043aqds: Configure environment related configs
authorKuldeep Singh <kuldeep.singh@nxp.com>
Wed, 7 Jul 2021 06:40:24 +0000 (12:10 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 20 Jul 2021 09:23:43 +0000 (14:53 +0530)
LS1043A-QDS board requires updation in few environment configs in TFA
and QSPI defconfigs.

Following are the changes:
- Define CONFIG_ENV_ADDR
- Unset CONFIG_SPI_FLASH_BAR
- Enable CONFIG_SYS_RELOC_GD_ENV_ADDR

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
configs/ls1043aqds_qspi_defconfig
configs/ls1043aqds_tfa_SECURE_BOOT_defconfig
configs/ls1043aqds_tfa_defconfig

index fb105f3cd011a7d5a948406a0982f0cd7a041b8b..1a33968d37d5088053f1562d60c8f9e80ac424cf 100644 (file)
@@ -36,6 +36,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_sy
 CONFIG_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_ENV_ADDR=0x40300000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_SATA_CEVA=y
index 03effc67c97afa751a4c90cc42b745a82d2f13a2..cafb09ab8c8080955129e342a19f1152257a8255 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SF_DEFAULT_BUS=1
+# CONFIG_SPI_FLASH_BAR is not set
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_PHYLIB=y
 CONFIG_PHYLIB_10G=y
index 00afe589a15fd1e3a74e7a32971b059dfcb0188d..848f571b8f8ce6d2bbc586babc173788e2d965fc 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_USE_ENV_SPI_BUS=y
 CONFIG_ENV_SPI_BUS=0
 CONFIG_ENV_ADDR=0x60500000
+CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_SATA_CEVA=y
 CONFIG_FSL_CAAM=y