User Tools

Site Tools


u-boot_board.c_routines

Overview

This page provides examples of the sorts of routines that are frequently defined in a board's board.c file. We can break those routines up into routines invoked from:

  • common/board_f.c
  • common/board_r.c

board_f.c

Weak functions

  • board_add_ram_info()
  • dram_init_banksize()
  • arch_cpu_init()
  • mach_cpu_init()
  • reserve_mmu()
  • arch_reserve_stacks()
  • reserve_arch()
  • arch_cpu_init_dm()

Kbuild-selected functions

#ifdef CONFIG_OF_CONTROL
        fdtdec_setup,
#endif

#if defined(CONFIG_BOARD_EARLY_INIT_F)
        board_early_init_f,
#endif

... and much more ...

board_r.c

u-boot_board.c_routines.txt · Last modified: 2019/12/28 09:23 by rpjday