From 271318a660eefe5623286eceaefd1b49389cbbdc Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Mon, 22 Jul 2019 20:02:14 +0800 Subject: 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 --- board/rockchip/tinker_rk3288/tinker-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/rockchip/tinker_rk3288/tinker-rk3288.c') 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]; -- cgit