commit | 87affc37e8313ea627f52ddd773a7f6eeb4c6805 | [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 | f6fc895eda44239acc8d0e29d59f117a1a928a19 [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>