bootm: add {arch,board}_preboot_os() to bootm.h
PATCH 1/1 bootm: add {arch,board}_preboot_os() to bootm.h
Functions that are used in multiple C modules should be defined in an include.
--- include/bootm.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
include/bootm.h +10 -0
@@ -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
--
2.28.0
PATCH 1/1 bootm: add {arch,board}_preboot_os() to bootm.h
Functions that are used in multiple C modules should be defined in an include.
--- include/bootm.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
include/bootm.h +10 -0
@@ -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
--
2.28.0
PATCH 1/1 bootm: add {arch,board}_preboot_os() to bootm.h
Am 2020-09-15 01:58, schrieb Heinrich Schuchardt:
Quoted 4 lines
Functions that are used in multiple C modules should be defined in an include.
Signed-off-by Heinrich Schuchardt <[email protected]>
I've noticed that the boards which use arch_preboot_os() (?!) or board_preboot_os() doesn't include this header, though.
-michael
PATCH 1/1 bootm: add {arch,board}_preboot_os() to bootm.h
Quoted 10 lines · Michael Walle
Am 2020-09-15 01:58, schrieb Heinrich Schuchardt:
Quoted 4 lines
Functions that are used in multiple C modules should be defined in an include.
Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Michael Walle <[email protected]>I've noticed that the boards which use
arch_preboot_os()(?!) orboard_preboot_os()doesn't include this header, though.
Yes, this will require further patches.
Best regards
Heinrich
PATCH 1/1 bootm: add {arch,board}_preboot_os() to bootm.h
In reply to Heinrich SchuchardtQuoted 5 lines · Heinrich Schuchardt
Functions that are used in multiple C modules should be defined in an include.
Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Michael Walle <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201014/62f4dacc/attachment.sig>