From ba7431031f657ff18203c9598496e0288809ae17 Mon Sep 17 00:00:00 2001 From: Ovidiu Panait Date: Fri, 24 Jul 2020 14:12:14 +0300 Subject: board_f: Introduce setup_bdinfo initcall Introduce setup_bdinfo initcall as a generic routine to populate bdinfo fields. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- include/init.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/init.h') diff --git a/include/init.h b/include/init.h index de408baf89..f2cd770079 100644 --- a/include/init.h +++ b/include/init.h @@ -141,6 +141,16 @@ int arch_reserve_stacks(void); */ int arch_reserve_mmu(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 * -- cgit v1.2.3