[PoC 090/241] global: Migrate CONFIG_LEGACY_BOOTCMD_ENV to CFG

Tom Rini
2022-11-20T13:50:33Z

include/configs/pic32mzdask.h | 4 ++--
scripts/config_whitelist.txt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h
index 60c747327588..0ae4fc55a97b 100644
--- a/include/configs/pic32mzdask.h
+++ b/include/configs/pic32mzdask.h
@@ -52,7 +52,7 @@
"fdt_addr_r=0x89d00000\0" \
"scriptaddr=0x88300000\0" \

-#define CONFIG_LEGACY_BOOTCMD_ENV \
+#define CFG_LEGACY_BOOTCMD_ENV \
"legacy_bootcmd= " \
"if load mmc 0 ${scriptaddr} uEnv.txt; then " \
"env import -tr ${scriptaddr} ${filesize}; " \
@@ -71,7 +71,7 @@

#define CFG_EXTRA_ENV_SETTINGS \
MEM_LAYOUT_ENV_SETTINGS \
- CONFIG_LEGACY_BOOTCMD_ENV \
+ CFG_LEGACY_BOOTCMD_ENV \
BOOTENV

#endif /* __PIC32MZDASK_CONFIG_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 07fd8dbeab11..495467153157 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -98,7 +98,7 @@ CFG_KSNET_SERDES_SGMII2_BASE
CFG_KSNET_SERDES_SGMII_BASE
CFG_L1_INIT_RAM
CFG_L2_CACHE
-CONFIG_LEGACY_BOOTCMD_ENV
+CFG_LEGACY_BOOTCMD_ENV
CONFIG_LOWPOWER_ADDR
CONFIG_LOWPOWER_FLAG
CONFIG_LPC32XX_NAND_MLC_BUSY_DELAY
--
2.25.1