[PoC 136/241] global: Migrate CONFIG_NORBOOT to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:07:26 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 c8ecd2dc0fca..1e66d609d68d 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -482,7 +482,7 @@ RST_DEF_CMD(defboot) \
 "ext2load usb 0:4 $ramdiskaddr $ramdiskfile;" \
 "bootm $loadaddr $ramdiskaddr $fdtaddr"
 
-#define CONFIG_NORBOOT	\
+#define CFG_NORBOOT	\
 "setenv bootargs root=/dev/$jffs2nor rw "	\
 "console=$consoledev,$baudrate rootfstype=jffs2 $othbootargs;"	\
 "bootm $norbootaddr - $norfdtaddr"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 41312519749c..31d50b5ab580 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -145,7 +145,7 @@ CFG_NAND_6BYTES_OOB_FREE_10BYTES_ECC
 CFG_NAND_CS_INIT
 CFG_NETDEV
 CFG_NETMASK
-CONFIG_NORBOOT
+CFG_NORBOOT
 CONFIG_NUM_DSP_CPUS
 CONFIG_ODROID_REV_AIN
 CONFIG_OTHBOOTARGS
-- 
2.25.1



More information about the U-Boot mailing list