[U-Boot] [PATCH 2/3] pfla02: Migrate CONFIG_ENV_IS_IN_SPI_FLASH to defconfig

Tom Rini trini at konsulko.com
Mon Nov 11 02:19:09 UTC 2019


This board is setting CONFIG_ENV_IS_IN_SPI_FLASH in the header rather
than defconfig, fix.

Cc: Stefano Babic <sbabic at denx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/pfla02_defconfig | 1 +
 include/configs/pfla02.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/pfla02_defconfig b/configs/pfla02_defconfig
index 7bd146d1ba77..d8ecf8e3dc24 100644
--- a/configs/pfla02_defconfig
+++ b/configs/pfla02_defconfig
@@ -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
diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h
index 8731d89af2cb..c21b993a62bb 100644
--- a/include/configs/pfla02.h
+++ b/include/configs/pfla02.h
@@ -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)
-- 
2.17.1



More information about the U-Boot mailing list