diff options
| author | Tom Rini <[email protected]> | 2020-08-06 20:57:55 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-06 20:57:55 -0400 |
| commit | ce2724909b07737030666b2046222f47f2d9feb8 (patch) | |
| tree | ee655d923cfdfd5d4a273f75db4ec3d3f314fe28 /include/init.h | |
| parent | 99c69538093143984edf0bcebdadc0a6d767c0a4 (diff) | |
| parent | 276b6c943a9b8166666b808c64d8a1deefdccbb3 (diff) | |
Merge branch '2020-08-06-Kconfig-sram-options'
- Migrate a few SRAM related options to Kconfig, related cleanups.
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 |
