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:

  • board_f.c
  • board_r.c

Arch-specific routines

do_board_detect()

arch_cpu_init_dm()

board_f.c

arch_cpu_init()

__weak int arch_cpu_init(void)
{
        return 0;
}

mach_cpu_init()

__weak int mach_cpu_init(void)
{
        return 0;
}

board_early_init_f() [LOTS]

dram_init()

dram_init_banksize()

board_r.c

board_init()

u-boot_board.c_routines.txt · Last modified: 2019/04/10 13:08 by rpjday