uboot board_init_f 函数
https://www.codenong.com/cs110875874/
初始化一系列外设,比如串口、定时器,或者打印一些消息等
void board_init_f(ulong boot_flags) | |
{ | |
gd->flags = boot_flags; | |
gd->have_console = 0; | |
if (initcall_run_list(init_sequence_f)) | |
hang(); | |
#if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \ | |
!defined(CONFIG_EFI_APP) && !CONFIG_IS_ENABLED(X86_64) && \ | |
!defined(CONFIG_ARC) | |
/* NOTREACHED - jump_to_copy() does not return */ | |
hang(); | |
#endif | |
} |