From: Heinrich Schuchardt Date: Mon, 14 Sep 2020 23:58:11 +0000 (+0200) Subject: bootm: add {arch,board}_preboot_os() to bootm.h X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=73fdb9558ed15df868b4b07bdc61ab682b49bd59;p=u-boot.git 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 Reviewed-by: Michael Walle --- diff --git a/include/bootm.h b/include/bootm.h index 0350c349f3..a812a6bf24 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