]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: spl: change call condition rockchip_stimer_init()
authorJohan Jonker <jbx6244@gmail.com>
Sat, 9 Apr 2022 16:55:03 +0000 (18:55 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:12 +0000 (11:25 +0800)
commit12a716422fa0f30ae1ce4ba27cee81a8fe890efc
tree6dabbcafbe997346c1dec2b1b7471b1c3a4931a7
parent54562045e5937e724ae574f02bdb040338d258be
rockchip: spl: change call condition rockchip_stimer_init()

The Rockchip SoCs rk3066/rk3188 have no CONFIG_ROCKCHIP_STIMER_BASE
defined. Currently only rk3188 has an exception in SPL. Make this more
generic and compile code inside the function rockchip_stimer_init()
only when CONFIG_ROCKCHIP_STIMER_BASE is available.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/spl.c