coreboot-kgpe-d16/src/lib/fallback_boot.c

20 lines
439 B
C

#include <fallback.h>
#include <watchdog.h>
/* Implement platform specific override. */
void __attribute__((weak)) set_boot_successful(void) { }
void boot_successful(void)
{
#if CONFIG_FRAMEBUFFER_SET_VESA_MODE && !CONFIG_FRAMEBUFFER_KEEP_VESA_MODE
void vbe_textmode_console(void);
vbe_textmode_console();
#endif
/* Remember this was a successful boot */
set_boot_successful();
/* turn off the boot watchdog */
watchdog_off();
}