On Thu, 30 Dec 2021 at 09:48, Johan Jonker <[email protected]> wrote: > > Not all Rockchip SoC models use the ARM arch timer. > Call the function timer_init() only when > CONFIG_SYS_ARCH_TIMER is available. > Replace the ifdef call condition by IS_ENABLED > to increase build coverage and make the code easier to read. > > Signed-off-by: Johan Jonker <[email protected]> > --- > arch/arm/mach-rockchip/spl.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

