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
  }
posted @ 2021-12-23 14:53  liujunhuasd  阅读(79)  评论(0编辑  收藏  举报