]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_LOWPOWER_FLAG to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:33 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:50 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_LOWPOWER_FLAG to CFG_LOWPOWER_FLAG

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-exynos/lowlevel_init.c
include/configs/exynos5420-common.h

index 02a79962af244d4c8d58c6e206a893694d735a87..243b5c80c90ef48dfae136c0a63235df42d0f697 100644 (file)
@@ -73,7 +73,7 @@ static void low_power_start(void)
 
        reg_val = readl(EXYNOS5420_SPARE_BASE);
        if (reg_val != CPU_RST_FLAG_VAL) {
-               writel(0x0, CONFIG_LOWPOWER_FLAG);
+               writel(0x0, CFG_LOWPOWER_FLAG);
                branch_bx(0x0);
        }
 
@@ -160,7 +160,7 @@ static void secondary_cores_configure(void)
        writel(0x0, (EXYNOS_RELOCATE_CODE_BASE + 0x1C));
 
        /* set lowpower flag and address */
-       writel(CPU_RST_FLAG_VAL, CONFIG_LOWPOWER_FLAG);
+       writel(CPU_RST_FLAG_VAL, CFG_LOWPOWER_FLAG);
        writel((uint32_t)&low_power_start, CFG_LOWPOWER_ADDR);
        writel(CPU_RST_FLAG_VAL, EXYNOS5420_SPARE_BASE);
        /* Store jump address for power down */
index 164cdb0fa1552c37cb5ce99c3b064a0fb84b4ef6..bd43efa553c7934d17463b6a0fda67920d04397d 100644 (file)
@@ -15,7 +15,7 @@
 /*
  * Low Power settings
  */
-#define CONFIG_LOWPOWER_FLAG           0x02020028
+#define CFG_LOWPOWER_FLAG              0x02020028
 #define CFG_LOWPOWER_ADDR              0x0202002C
 
 #endif /* __CONFIG_EXYNOS5420_H */