[PoC 228/241] global: Migrate CONFIG_USB_EXT2_BOOT to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:17:30 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/p1_p2_rdb_pc.h | 2 +-
 scripts/config_whitelist.txt   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index 2dc271771615..19e20de248a2 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -472,7 +472,7 @@ RST_DEF_CMD(defboot) \
 "fatload usb 0:2 $ramdiskaddr $ramdiskfile;"	\
 "bootm $loadaddr $ramdiskaddr $fdtaddr"
 
-#define CONFIG_USB_EXT2_BOOT	\
+#define CFG_USB_EXT2_BOOT	\
 "setenv bootargs root=/dev/ram rw "	\
 "console=$consoledev,$baudrate $othbootargs " \
 "ramdisk_size=$ramdisk_size;"	\
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 16d64d1cd3c3..1fc2e1cc51d1 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -242,7 +242,7 @@ CFG_USART_BASE
 CFG_USART_ID
 CFG_USBD_HS
 CFG_USB_BOOTING
-CONFIG_USB_EXT2_BOOT
+CFG_USB_EXT2_BOOT
 CONFIG_USB_FAT_BOOT
 CONFIG_USB_ISP1301_I2C_ADDR
 CONFIG_U_BOOT_HDR_SIZE
-- 
2.25.1



More information about the U-Boot mailing list