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

The Rockchip SoCs rk3066/rk3188 have no CONFIG_ROCKCHIP_STIMER_BASE
defined. Currently there's no exception in TPL. Make this more
generic and compile the 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/tpl.c