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/12/28 08:44] – [Overview] rpjdayu-boot_board.c_routines [2019/12/28 09:23] (current) rpjday
Line 6: Line 6:
   * ''common/board_r.c''   * ''common/board_r.c''
  
-===== Arch-specific routines =====+===== board_f.c =====
  
-==== arch_cpu_init_dm() ====+==== 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()''
  
-==== arch_cpu_init() ====+==== Kbuild-selected functions ====
  
 <code> <code>
-__weak int arch_cpu_init(void) +#ifdef CONFIG_OF_CONTROL 
-{ +        fdtdec_setup, 
-        return 0; +#endif
-} +
-</code>+
  
-==== mach_cpu_init() ====+#if defined(CONFIG_BOARD_EARLY_INIT_F) 
 +        board_early_init_f, 
 +#endif
  
-<code> +... and much more ...
-__weak int mach_cpu_init(void) +
-+
-        return 0; +
-}+
 </code> </code>
- 
-==== board_early_init_f() [LOTS] ==== 
- 
-==== dram_init() ==== 
- 
-==== dram_init_banksize() ==== 
- 
 ===== board_r.c ===== ===== board_r.c =====
- 
-==== board_init() ==== 
  • u-boot_board.c_routines.1577522656.txt.gz
  • Last modified: 2019/12/28 08:44
  • by rpjday