mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
77d0870c29
commit
3cdd6302a5
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue