rockchip: rk3288: Move rk3288_detect_reset_reason to soc file
authorKever Yang <kever.yang@rock-chips.com>
Mon, 22 Jul 2019 12:02:14 +0000 (20:02 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 29 Jul 2019 02:27:45 +0000 (10:27 +0800)
commit271318a660eefe5623286eceaefd1b49389cbbdc
treed9163e309b988b45888ca5985ebae26de300e0da
parent88a87bcbb344ec63c62c001c356aaad8f60c84fa
rockchip: rk3288: Move rk3288_detect_reset_reason to soc file

The rk3288_detect_reset_reason() is per-SoC operation, move
it to rk3288.c, and extend the rk_board_late_init() with
rk3288_board_late_init() to make all the board works fine
as before.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3288-board.c
arch/arm/mach-rockchip/rk3288/rk3288.c
board/chipspark/popmetal_rk3288/popmetal-rk3288.c
board/phytec/phycore_rk3288/phycore-rk3288.c
board/rockchip/tinker_rk3288/tinker-rk3288.c