mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 20:41:16 +02: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user