[PoC 190/241] global: Migrate CONFIG_SPI_ADDR to CFG

Tom Rini
2022-11-20T14:19:49Z

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

diff --git a/include/configs/mt7629.h b/include/configs/mt7629.h
index d7700673f6f7..6fc851f2079c 100644
--- a/include/configs/mt7629.h
+++ b/include/configs/mt7629.h
@@ -17,8 +17,8 @@

/* Defines for SPL */

-#define CONFIG_SPI_ADDR 0x30000000
-#define CFG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
+#define CFG_SPI_ADDR 0x30000000
+#define CFG_SYS_UBOOT_BASE (CFG_SPI_ADDR + CONFIG_SPL_PAD_TO)

/* SPL -> Uboot */

diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 9f28554caab4..9989d7052f14 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -199,7 +199,7 @@ CFG_SLIC
CFG_SMDK5420
CFG_SMP_PEN_ADDR
CFG_SOCRATES
-CONFIG_SPI_ADDR
+CFG_SPI_ADDR
CONFIG_SPI_BOOTING
CONFIG_SPI_FLASH_QUAD
CONFIG_SPI_FLASH_SIZE
--
2.25.1