[PATCH 067/149] global: Migrate CONFIG_LOWPOWER_ADDR to CFG

Tom Rini trini at konsulko.com
Sun Dec 4 16:04:32 CET 2022


Perform a simple rename of CONFIG_LOWPOWER_ADDR to CFG_LOWPOWER_ADDR

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/mach-exynos/lowlevel_init.c | 2 +-
 include/configs/exynos5420-common.h  | 2 +-
 2 files changed, 2 insertions(+), 2 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 99ab1a174f7c..164cdb0fa155 100644
--- a/include/configs/exynos5420-common.h
+++ b/include/configs/exynos5420-common.h
@@ -16,6 +16,6 @@
  * Low Power settings
  */
 #define CONFIG_LOWPOWER_FLAG		0x02020028
-#define CONFIG_LOWPOWER_ADDR		0x0202002C
+#define CFG_LOWPOWER_ADDR		0x0202002C
 
 #endif	/* __CONFIG_EXYNOS5420_H */
-- 
2.25.1



More information about the U-Boot mailing list