diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 20:02:14 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 10:27:45 +0800 |
commit | 271318a660eefe5623286eceaefd1b49389cbbdc (patch) | |
tree | d9163e309b988b45888ca5985ebae26de300e0da /board/rockchip/tinker_rk3288/tinker-rk3288.c | |
parent | 88a87bcbb344ec63c62c001c356aaad8f60c84fa (diff) |
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>
Diffstat (limited to 'board/rockchip/tinker_rk3288/tinker-rk3288.c')
-rw-r--r-- | board/rockchip/tinker_rk3288/tinker-rk3288.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/rockchip/tinker_rk3288/tinker-rk3288.c b/board/rockchip/tinker_rk3288/tinker-rk3288.c index 44f13183a5..e6b018d89c 100644 --- a/board/rockchip/tinker_rk3288/tinker-rk3288.c +++ b/board/rockchip/tinker_rk3288/tinker-rk3288.c @@ -21,7 +21,7 @@ static int get_ethaddr_from_eeprom(u8 *addr) return i2c_eeprom_read(dev, 0, addr, 6); } -int rk_board_late_init(void) +int rk3288_board_late_init(void) { u8 ethaddr[6]; |