rockchip: rk3036: use rockchip_stimer_init from spl_common.o
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 28 Oct 2025 16:57:35 +0000 (17:57 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 2 Nov 2025 18:15:23 +0000 (12:15 -0600)
commit0d457380a02422e07833c3a0520516c358eeb9fa
tree4b71945c58aa3da782b53573b4af6f735b6ceccb
parentad3fb3808e59b3eab455bfa7fd4840e611df3204
rockchip: rk3036: use rockchip_stimer_init from spl_common.o

The only difference with the implementation in spl_common.c is that we
check whether the timer has already been enabled. Considering this is
running in SPL, the first stage on RK3036, I feel like it's guaranteed
to not be enabled by default. No public TRM though and I don't have
access to an RK3036 device so take this as a guess.

Size of SPL binary increases by 8B for evb-rk3036.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Makefile
arch/arm/mach-rockchip/rk3036-board-spl.c