mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
global: Move remaining CONFIG_SYS_* to CFG_SYS_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a322afc9f9
commit
65cc0e2a65
744 changed files with 5915 additions and 5914 deletions
|
@ -97,11 +97,11 @@ static int stm32_timer_probe(struct udevice *dev)
|
|||
rate = clk_get_rate(&clk);
|
||||
|
||||
/* we set timer prescaler to obtain a 1MHz timer counter frequency */
|
||||
psc = (rate / CONFIG_SYS_HZ_CLOCK) - 1;
|
||||
psc = (rate / CFG_SYS_HZ_CLOCK) - 1;
|
||||
writel(psc, ®s->psc);
|
||||
|
||||
/* Set timer frequency to 1MHz */
|
||||
uc_priv->clock_rate = CONFIG_SYS_HZ_CLOCK;
|
||||
uc_priv->clock_rate = CFG_SYS_HZ_CLOCK;
|
||||
|
||||
/* Configure timer for auto-reload */
|
||||
setbits_le32(®s->cr1, CR1_ARPE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue