summaryrefslogtreecommitdiff
path: root/board/google
diff options
context:
space:
mode:
authorUrja Rannikko <urjaman@gmail.com>2020-05-13 22:15:21 +0300
committerKever Yang <kever.yang@rock-chips.com>2020-05-22 15:53:20 +0300
commitfffdf7290cee85232ee522e27c09c7f1178e6219 (patch)
tree688632afb9937bd0cba470444cef87ed381879ee /board/google
parent353ad95aa6562654726a91cb457f30d5f2a85f4c (diff)
downloadu-boot-fffdf7290cee85232ee522e27c09c7f1178e6219.tar.xz
rockchip: veyron: move board_early_init_f to _r (after reloc)
Previously veyron_init() was called in board_init() context, which is called after relocation. Moving it to veyron.c used board_early_init_f which is called way earlier, and causes veyron_init to hang. Using board_early_init_r instead fixes this. Fixes: b678f2790c ("rockchip: rk3288: Move veyron_init() back to veyron.c") Signed-off-by: Urja Rannikko <urjaman@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'board/google')
-rw-r--r--board/google/veyron/veyron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/google/veyron/veyron.c b/board/google/veyron/veyron.c
index 6d84a326a3..391d973c0b 100644
--- a/board/google/veyron/veyron.c
+++ b/board/google/veyron/veyron.c
@@ -71,7 +71,7 @@ static int veyron_init(void)
}
#endif
-int board_early_init_f(void)
+int board_early_init_r(void)
{
struct udevice *dev;
int ret;