summaryrefslogtreecommitdiff
path: root/board/rockchip
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-22 20:02:14 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-29 10:27:45 +0800
commit271318a660eefe5623286eceaefd1b49389cbbdc (patch)
treed9163e309b988b45888ca5985ebae26de300e0da /board/rockchip
parent88a87bcbb344ec63c62c001c356aaad8f60c84fa (diff)
downloadu-boot-271318a660eefe5623286eceaefd1b49389cbbdc.tar.gz
u-boot-271318a660eefe5623286eceaefd1b49389cbbdc.tar.bz2
u-boot-271318a660eefe5623286eceaefd1b49389cbbdc.zip
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')
-rw-r--r--board/rockchip/tinker_rk3288/tinker-rk3288.c2
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];