]> git.dujemihanovic.xyz Git - u-boot.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)
commitccab9e7ee3c4447c4bf5f4456f56a6b46f475ad4
treec7124b05efe62c3383302dd60f6e3862ba74853a
parentd7f2d23ce4281c70e8395503382474ebdd5e4238
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