diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 10:13:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 10:15:12 -0500 |
commit | 3cdd6302a5c6cc2f6b59b845f6f1fc31061b1dd2 (patch) | |
tree | 94af38f6b4948c2247f9d89f8679e73d47d4b90d | |
parent | 77d0870c2901b28e003fa256c00d8570b2066cae (diff) | |
download | u-boot-3cdd6302a5c6cc2f6b59b845f6f1fc31061b1dd2.tar.gz u-boot-3cdd6302a5c6cc2f6b59b845f6f1fc31061b1dd2.tar.bz2 u-boot-3cdd6302a5c6cc2f6b59b845f6f1fc31061b1dd2.zip |
global: Migrate CONFIG_SC_TIMER_CLK to CFG
Perform a simple rename of CONFIG_SC_TIMER_CLK to CFG_SC_TIMER_CLK
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | arch/arm/mach-imx/syscounter.c | 2 | ||||
-rw-r--r-- | include/configs/mx6_common.h | 2 | ||||
-rw-r--r-- | include/configs/mx7_common.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c index df478a2326..129efac6fa 100644 --- a/arch/arm/mach-imx/syscounter.c +++ b/arch/arm/mach-imx/syscounter.c @@ -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); diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index dd8cabc2e9..0b8233de8c 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -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 diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 6e14b4fbf0..a542839ce1 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -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 */ |