bootm: Add tests for fixup_silent_linux()

This function currently has no tests. Export it so that we can implement
a simple test on sandbox. Use IS_ENABLED() to remove the unused code,
instead #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-11-05 10:33:38 -07:00
committed by Tom Rini
parent 96434a76fd
commit f158ba15ee
7 changed files with 73 additions and 7 deletions

View File

@@ -85,4 +85,7 @@ void arch_preboot_os(void);
*/
void board_preboot_os(void);
/* Adjust the 'bootargs' to ensure that Linux boots silently, if required */
void fixup_silent_linux(void);
#endif