summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index f7ea7c7a1e..bf739d1a5b 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -800,6 +800,9 @@ __weak int arch_cpu_init_dm(void)
{
return 0;
}
+#if CONFIG_IS_ENABLED(TARGET_STARFIVE_JH7100)
+extern int board_hw_init(void);
+#endif
__weak int checkcpu(void)
{
@@ -941,6 +944,9 @@ static const init_fnc_t init_sequence_f[] = {
do_elf_reloc_fixups,
#endif
clear_bss,
+#if CONFIG_IS_ENABLED(TARGET_STARFIVE_JH7100)
+ board_hw_init,
+#endif
#if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \
!CONFIG_IS_ENABLED(X86_64)
jump_to_copy,