Rename __attribute__((packed)) --> __packed
[coreboot.git] / src / lib / fallback_boot.c
blob443f209b1dc8632804533d997c240c8e273a06b9
1 #include <fallback.h>
2 #include <watchdog.h>
4 /* Implement platform specific override. */
5 void __attribute__((weak)) set_boot_successful(void) { }
7 void boot_successful(void)
9 if (IS_ENABLED(CONFIG_FRAMEBUFFER_SET_VESA_MODE) &&
10 IS_ENABLED(CONFIG_VGA_TEXT_FRAMEBUFFER)) {
11 void vbe_textmode_console(void);
13 vbe_textmode_console();
16 /* Remember this was a successful boot */
17 set_boot_successful();
19 /* turn off the boot watchdog */
20 watchdog_off();