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>
This commit is contained in:
Heinrich Schuchardt 2020-09-15 01:58:11 +02:00 committed by Tom Rini
parent 4b2be78ab6
commit 73fdb9558e

View File

@ -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