[PoC 091/241] global: Migrate CONFIG_LOWPOWER_ADDR to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 14:31:22 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/mach-exynos/lowlevel_init.c | 2 +-
 include/configs/exynos5420-common.h  | 2 +-
 scripts/config_whitelist.txt         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c
index 9225d2cc1f2a..02a79962af24 100644
--- a/arch/arm/mach-exynos/lowlevel_init.c
+++ b/arch/arm/mach-exynos/lowlevel_init.c
@@ -161,7 +161,7 @@ static void secondary_cores_configure(void)
 
 	/* set lowpower flag and address */
 	writel(CPU_RST_FLAG_VAL, CONFIG_LOWPOWER_FLAG);
-	writel((uint32_t)&low_power_start, CONFIG_LOWPOWER_ADDR);
+	writel((uint32_t)&low_power_start, CFG_LOWPOWER_ADDR);
 	writel(CPU_RST_FLAG_VAL, EXYNOS5420_SPARE_BASE);
 	/* Store jump address for power down */
 	writel((uint32_t)&power_down_core, CONFIG_PHY_IRAM_BASE + 0x4);
diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h
index d5f480de0ef7..d7db17b2dc92 100644
--- a/include/configs/exynos5420-common.h
+++ b/include/configs/exynos5420-common.h
@@ -18,6 +18,6 @@
  * Low Power settings
  */
 #define CONFIG_LOWPOWER_FLAG		0x02020028
-#define CONFIG_LOWPOWER_ADDR		0x0202002C
+#define CFG_LOWPOWER_ADDR		0x0202002C
 
 #endif	/* __CONFIG_EXYNOS5420_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 495467153157..f2d7a0202c22 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -99,7 +99,7 @@ CFG_KSNET_SERDES_SGMII_BASE
 CFG_L1_INIT_RAM
 CFG_L2_CACHE
 CFG_LEGACY_BOOTCMD_ENV
-CONFIG_LOWPOWER_ADDR
+CFG_LOWPOWER_ADDR
 CONFIG_LOWPOWER_FLAG
 CONFIG_LPC32XX_NAND_MLC_BUSY_DELAY
 CONFIG_LPC32XX_NAND_MLC_NAND_TA
-- 
2.25.1



More information about the U-Boot mailing list