]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pfla02: Migrate CONFIG_ENV_IS_IN_SPI_FLASH to defconfig
authorTom Rini <trini@konsulko.com>
Sat, 9 Nov 2019 22:49:20 +0000 (17:49 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 12 Nov 2019 16:08:00 +0000 (11:08 -0500)
This board is setting CONFIG_ENV_IS_IN_SPI_FLASH in the header rather
than defconfig, fix.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
configs/pfla02_defconfig
include/configs/pfla02.h

index 7bd146d1ba7764d42e998993aeb5f82385e2fb25..d8ecf8e3dc24e265d6e0cc7b3ce798a8f03a00ce 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:-(nand);spi2.0:1024k(bootloader),64k(env1),64k(env2),-(rescue)"
 CONFIG_CMD_UBI=y
 # CONFIG_SPL_PARTITION_UUIDS is not set
+CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_DM=y
 CONFIG_FSL_USDHC=y
 CONFIG_MTD=y
index 8731d89af2cb030fa175193a034c7039393e61b5..c21b993a62bb90408f4a944a8943b38e356e38f9 100644 (file)
@@ -74,7 +74,6 @@
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 
 /* Environment organization */
-#define CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_ENV_SIZE                (16 * 1024)
 #define CONFIG_ENV_OFFSET              (1024 * SZ_1K)
 #define CONFIG_ENV_SECT_SIZE           (64 * SZ_1K)