]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3288: add arch_cpu_init in spl
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 13:58:43 +0000 (21:58 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commitf462a53868f56b46b569a4735827b51aca7419e6
treec7124b05efe62c3383302dd60f6e3862ba74853a
parent68f4f6b7df7bfee86ebc60cad54c907378b4c41c
rockchip: rk3288: add arch_cpu_init in spl

Add arch_cpu_init() in SPL for soc related init, and
move configure_l2ctlr() into it.
The arch_cpu_init() only need to run once, so no need
to run in TPL.

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