This is an old revision of the document!
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.cboard_r.c
Arch-specific routines
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;
}