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

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

index 243b5c80c90ef48dfae136c0a63235df42d0f697..c57b8aee798937adc31987cba8fd18f2691ddf7e 100644 (file)
@@ -77,10 +77,10 @@ static void low_power_start(void)
                branch_bx(0x0);
        }
 
-       reg_val = readl(CONFIG_PHY_IRAM_BASE + 0x4);
+       reg_val = readl(CFG_PHY_IRAM_BASE + 0x4);
        if (reg_val != (uint32_t)&low_power_start) {
                /* Store jump address as low_power_start if not present */
-               writel((uint32_t)&low_power_start, CONFIG_PHY_IRAM_BASE + 0x4);
+               writel((uint32_t)&low_power_start, CFG_PHY_IRAM_BASE + 0x4);
                dsb();
                sev();
        }
@@ -164,7 +164,7 @@ static void secondary_cores_configure(void)
        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);
+       writel((uint32_t)&power_down_core, CFG_PHY_IRAM_BASE + 0x4);
 
        /* Need all core power down check */
        dsb();
index bd43efa553c7934d17463b6a0fda67920d04397d..b75fe1b0a86c9bfafe333bf6c94bc86cfe81457e 100644 (file)
@@ -10,7 +10,7 @@
 
 #define CFG_IRAM_TOP                   0x02074000
 
-#define CONFIG_PHY_IRAM_BASE           0x02020000
+#define CFG_PHY_IRAM_BASE              0x02020000
 
 /*
  * Low Power settings