global: Migrate CONFIG_SC_TIMER_CLK to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:45 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:15:12 +0000 (10:15 -0500)
Perform a simple rename of CONFIG_SC_TIMER_CLK to CFG_SC_TIMER_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-imx/syscounter.c
include/configs/mx6_common.h
include/configs/mx7_common.h

index df478a2..129efac 100644 (file)
@@ -65,7 +65,7 @@ int timer_init(void)
        struct sctr_regs *sctr = (struct sctr_regs *)SCTR_BASE_ADDR;
        unsigned long val, freq;
 
-       freq = CONFIG_SC_TIMER_CLK;
+       freq = CFG_SC_TIMER_CLK;
        asm volatile("mcr p15, 0, %0, c14, c0, 0" : : "r" (freq));
 
        writel(freq, &sctr->cntfid0);
index dd8cabc..0b8233d 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/stringify.h>
 
 #if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
-#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
+#define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */
 #else
 #ifndef CONFIG_SYS_L2CACHE_OFF
 #define CFG_SYS_PL310_BASE     L2_PL310_BASE
index 6e14b4f..a542839 100644 (file)
@@ -14,7 +14,7 @@
 #include <asm/mach-imx/gpio.h>
 
 /* Timer settings */
-#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
+#define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */
 
 /* Miscellaneous configurable options */