u-boot/drivers/timer
Tom Rini 2f8a6db5d8 Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig
In order to finish moving this symbol to Kconfig for all platforms, we
need to do a few more things.  First, for all platforms that define this
to a function, introduce CONFIG_DYNAMIC_SYS_CLK_FREQ, similar to
CONFIG_DYNAMIC_DDR_CLK_FREQ and populate clock_legacy.h.  This entails
also switching all users from CONFIG_SYS_CLK_FREQ to get_board_sys_clk()
and updating a few preprocessor tests.

With that done, all platforms that define a value here can be converted
to Kconfig, and a fall-back of zero is sufficiently safe to use (and
what is used today in cases where code may or may not have this
available).  Make sure that code which calls this function includes
<clock_legacy.h> to get the prototype.

Signed-off-by: Tom Rini <trini@konsulko.com>
2021-12-27 16:20:18 -05:00
..
ag101p_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
altera_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
andes_plmt_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
arc_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ast_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
atcpit100_timer.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel_pit_timer.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
cadence-ttc.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dw-apb-timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
imx-gpt-timer.c timer: imx-gpt: Add timer support for i.MX SoCs family 2021-06-09 13:01:33 +02:00
Kconfig x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ 2021-08-02 15:11:40 +08:00
Makefile timer: imx-gpt: Add timer support for i.MX SoCs family 2021-06-09 13:01:33 +02:00
mchp-pit64b-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_timer.c allow opting out of WATCHDOG_RESET() from timer interrupt 2021-04-27 08:28:07 +02:00
mtk_timer.c timer: mtk_timer: initialize the timer before use 2021-01-18 15:23:06 -05:00
nomadik-mtu-timer.c timer: nomadik-mtu: Use dev_read_addr_ptr() 2021-07-14 16:47:57 -04:00
omap-timer.c omap: timer: fix the rate setting 2021-01-12 10:58:05 +05:30
ostm_timer.c Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
riscv_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
rockchip_timer.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
sandbox_timer.c sandbox: Only call timer_timebase_fallback() if present 2021-03-27 15:04:31 +13:00
sifive_clint_timer.c timer: sifive_clint: Support the official clint DT bindings 2021-04-08 15:37:29 +08:00
sti-timer.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
stm32_timer.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
timer-uclass.c - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
tsc_timer.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00