diff options
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index de408baf892..0f48ccb57ad 100644 --- a/include/init.h +++ b/include/init.h @@ -142,6 +142,28 @@ int arch_reserve_stacks(void); int arch_reserve_mmu(void); /** + * arch_setup_bdinfo() - Architecture dependent boardinfo setup + * + * Architecture-specific routine for populating various boardinfo fields of + * gd->bd. It is called during the generic board init sequence. + * + * If an implementation is not provided, it will just be a nop stub. + * + * Return: 0 if OK + */ +int arch_setup_bdinfo(void); + +/** + * setup_bdinfo() - Generic boardinfo setup + * + * Routine for populating various generic boardinfo fields of + * gd->bd. It is called during the generic board init sequence. + * + * Return: 0 if OK + */ +int setup_bdinfo(void); + +/** * init_cache_f_r() - Turn on the cache in preparation for relocation * * Return: 0 if OK, -ve on error |