On Thu, 30 Dec 2021 at 09:48, Johan Jonker <jbx6...@gmail.com> 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 <jbx6...@gmail.com>
> ---
>  arch/arm/mach-rockchip/spl.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to