]> git.baikalelectronics.ru Git - uboot.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)
commit790f8f8ffb2728e5f0a649c1b625e966131580c5
tree6dabbcafbe997346c1dec2b1b7471b1c3a4931a7
parent74f84a67982b276ded78911976664503f66782a7
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