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