summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-07-24 14:12:14 +0300
committerTom Rini <trini@konsulko.com>2020-08-06 21:26:35 +0300
commitba7431031f657ff18203c9598496e0288809ae17 (patch)
tree2d7660804597432af93141a19eebdc2fd4f7cb53 /include/init.h
parent6ecefcfb6d0cfdd0c34db5d25ed58859eb266416 (diff)
downloadu-boot-ba7431031f657ff18203c9598496e0288809ae17.tar.xz
board_f: Introduce setup_bdinfo initcall
Introduce setup_bdinfo initcall as a generic routine to populate bdinfo fields. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index de408baf89..f2cd770079 100644
--- a/include/init.h
+++ b/include/init.h
@@ -142,6 +142,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
*
* Return: 0 if OK, -ve on error