commit | 12a716422fa0f30ae1ce4ba27cee81a8fe890efc | [log] [tgz] |
---|---|---|
author | Johan Jonker <jbx6244@gmail.com> | Sat Apr 09 18:55:03 2022 +0200 |
committer | Kever Yang <kever.yang@rock-chips.com> | Mon Apr 18 11:25:12 2022 +0800 |
tree | 6dabbcafbe997346c1dec2b1b7471b1c3a4931a7 | |
parent | 54562045e5937e724ae574f02bdb040338d258be [diff] |
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>