[PoC 196/241] global: Migrate CONFIG_STACKBASE to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:08:26 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/tegra-common.h    | 2 +-
 include/configs/tegra114-common.h | 2 +-
 include/configs/tegra124-common.h | 2 +-
 include/configs/tegra20-common.h  | 2 +-
 include/configs/tegra30-common.h  | 2 +-
 scripts/config_whitelist.txt      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 66cf7ae5847e..bde7ffce008f 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -45,7 +45,7 @@
 #define CFG_SYS_BOOTMAPSZ	(256 << 20)	/* 256M */
 
 #ifndef CONFIG_ARM64
-#define CFG_SYS_INIT_RAM_ADDR	CONFIG_STACKBASE
+#define CFG_SYS_INIT_RAM_ADDR	CFG_STACKBASE
 #define CFG_SYS_INIT_RAM_SIZE	CONFIG_SYS_MALLOC_LEN
 
 /* Defines for SPL */
diff --git a/include/configs/tegra114-common.h b/include/configs/tegra114-common.h
index 87ec1f5a99d6..ab4fa5504c52 100644
--- a/include/configs/tegra114-common.h
+++ b/include/configs/tegra114-common.h
@@ -15,7 +15,7 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_STACKBASE	0x83800000	/* 56MB */
+#define CFG_STACKBASE	0x83800000	/* 56MB */
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
diff --git a/include/configs/tegra124-common.h b/include/configs/tegra124-common.h
index 0485fea6ccb8..b413e2512128 100644
--- a/include/configs/tegra124-common.h
+++ b/include/configs/tegra124-common.h
@@ -17,7 +17,7 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_STACKBASE	0x83800000	/* 56MB */
+#define CFG_STACKBASE	0x83800000	/* 56MB */
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index 617bfb2197cf..a313ac2041a9 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -16,7 +16,7 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_STACKBASE	0x03800000	/* 56MB */
+#define CFG_STACKBASE	0x03800000	/* 56MB */
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map
diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h
index 04fcf11ed82d..c57d2d157e33 100644
--- a/include/configs/tegra30-common.h
+++ b/include/configs/tegra30-common.h
@@ -16,7 +16,7 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_STACKBASE	0x83800000	/* 56MB */
+#define CFG_STACKBASE	0x83800000	/* 56MB */
 
 /*
  * Memory layout for where various images get loaded by boot scripts:
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7058ba72ba7f..f271ba83faca 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -205,7 +205,7 @@ CFG_SPI_FLASH_QUAD
 CFG_SPI_FLASH_SIZE
 CFG_SPI_HALF_DUPLEX
 CFG_SPI_N25Q256A_RESET
-CONFIG_STACKBASE
+CFG_STACKBASE
 CONFIG_STANDALONE_LOAD_ADDR
 CONFIG_STD_DEVICES_SETTINGS
 CONFIG_TEGRA_BOARD_STRING
-- 
2.25.1



More information about the U-Boot mailing list