aboutsummaryrefslogtreecommitdiff
path: root/include/bootm.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-09-15 01:58:11 +0200
committerTom Rini2020-10-14 11:16:34 -0400
commit73fdb9558ed15df868b4b07bdc61ab682b49bd59 (patch)
treefe4b9eded9bc3cca7f4c0a56586b045a91a456b4 /include/bootm.h
parent4b2be78ab66ca3f6f177823c0f81fcdd1d476e9b (diff)
bootm: add {arch,board}_preboot_os() to bootm.h
Functions that are used in multiple C modules should be defined in an include. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'include/bootm.h')
-rw-r--r--include/bootm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 0350c349f37..a812a6bf24f 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -75,4 +75,14 @@ void board_quiesce_devices(void);
*/
void switch_to_non_secure_mode(void);
+/**
+ * arch_preboot_os() - arch specific configuration before booting
+ */
+void arch_preboot_os(void);
+
+/**
+ * board_preboot_os() - board specific configuration before booting
+ */
+void board_preboot_os(void);
+
#endif