[PoC 161/241] global: Migrate CONFIG_RAMBOOT_TEXT_BASE to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:07:51 CET 2022


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

diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 0a6fcde3913d..f4cf43e7100d 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -12,7 +12,7 @@
 #define __CONFIG_H
 
 #ifdef CONFIG_RAMBOOT_PBL
-#define CONFIG_RAMBOOT_TEXT_BASE	CONFIG_TEXT_BASE
+#define CFG_RAMBOOT_TEXT_BASE	CONFIG_TEXT_BASE
 #define CONFIG_RESET_VECTOR_ADDRESS	0xfffffffc
 #endif
 
@@ -46,10 +46,10 @@
 /*
  *  Config the L3 Cache as L3 SRAM
  */
-#define CFG_SYS_INIT_L3_ADDR		CONFIG_RAMBOOT_TEXT_BASE
+#define CFG_SYS_INIT_L3_ADDR		CFG_RAMBOOT_TEXT_BASE
 #ifdef CONFIG_PHYS_64BIT
 #define CFG_SYS_INIT_L3_ADDR_PHYS	(0xf00000000ull | \
-		CONFIG_RAMBOOT_TEXT_BASE)
+		CFG_RAMBOOT_TEXT_BASE)
 #else
 #define CFG_SYS_INIT_L3_ADDR_PHYS	CFG_SYS_INIT_L3_ADDR
 #endif
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index f1ee131aaa98..c3a04a766abd 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -16,7 +16,7 @@
 
 #ifdef CONFIG_RAMBOOT_PBL
 #ifndef CONFIG_SDCARD
-#define CONFIG_RAMBOOT_TEXT_BASE        CONFIG_TEXT_BASE
+#define CFG_RAMBOOT_TEXT_BASE        CONFIG_TEXT_BASE
 #define CONFIG_RESET_VECTOR_ADDRESS     0xfffffffc
 #else
 #define RESET_VECTOR_OFFSET		0x27FFC
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 083352a88bb8..df6a95c2572b 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -170,7 +170,7 @@ CFG_PRAM
 CFG_PSRAM_SCFG
 CFG_QBMAN_CLK_DIV
 CFG_RAMBOOT_SPIFLASH
-CONFIG_RAMBOOT_TEXT_BASE
+CFG_RAMBOOT_TEXT_BASE
 CONFIG_RAMDISK_ADDR
 CONFIG_RD_LVL
 CONFIG_RESET_VECTOR_ADDRESS
-- 
2.25.1



More information about the U-Boot mailing list