]> git.ipfire.org Git - thirdparty/u-boot.git/commit
rockchip: rk3399: use common secure_timer_init() for spl/tpl
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 14:05:59 +0000 (22:05 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commit87ac550862edd3540be4030f2bc266f4b5182fa3
treebea15b2ac244f666d3bbcb87cdc2207d3df3d3be
parent82560cb311017a656e83f797e5480768c16d7a6d
rockchip: rk3399: use common secure_timer_init() for spl/tpl

SPL/TPL share the same secure_timer_init(), update to use
one copy source code and update to use CONFIG_ROCKCHIP_STIMER_BASE
as base address and rename to function name to rockchip_stimer_init().

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3399-board-spl.c
arch/arm/mach-rockchip/rk3399-board-tpl.c
arch/arm/mach-rockchip/rk3399/rk3399.c
include/configs/rk3399_common.h