Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
u-boot_board.c_routines [2019/04/10 09:41] – [board_f.c] rpjdayu-boot_board.c_routines [2019/12/28 09:23] (current) rpjday
Line 1: Line 1:
 ===== Overview ===== ===== Overview =====
  
-This page provides examples of the sorts of routines that could be defined in a board ''board.c'' file. We can break those routines up into routines invoked from:+This page provides examples of the sorts of routines that are frequently defined in a board'''board.c'' file. We can break those routines up into routines invoked from:
  
-  * ''board_f.c'' +  * ''common/board_f.c'' 
-  * ''board_r.c''+  * ''common/board_r.c''
  
-===== Arch-specific routines =====+===== board_f.c =====
  
-==== do_board_detect() ====+==== Weak functions ====
  
-===== board_f.c =====+  * ''board_add_ram_info()'' 
 +  * ''dram_init_banksize()'' 
 +  * ''arch_cpu_init()'' 
 +  * ''mach_cpu_init()'' 
 +  * ''reserve_mmu()'' 
 +  * ''arch_reserve_stacks()'' 
 +  * ''reserve_arch()'' 
 +  * ''arch_cpu_init_dm()''
  
-==== board_early_init_f() ====+==== Kbuild-selected functions ====
  
-===== board_r.c =====+<code> 
 +#ifdef CONFIG_OF_CONTROL 
 +        fdtdec_setup, 
 +#endif
  
-==== board_init() ====+#if defined(CONFIG_BOARD_EARLY_INIT_F) 
 +        board_early_init_f, 
 +#endif 
 + 
 +... and much more ... 
 +</code> 
 +===== board_r.c =====
  • u-boot_board.c_routines.1554889268.txt.gz
  • Last modified: 2019/04/10 09:41
  • by rpjday