blob: e4a128e291c1c09a69b7c5741742e69c72d0b42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <fallback.h>
#include <watchdog.h>
/* Implement platform specific override. */
void __weak set_boot_successful(void) { }
void boot_successful(void)
{
if (IS_ENABLED(CONFIG_FRAMEBUFFER_SET_VESA_MODE) &&
IS_ENABLED(CONFIG_VGA_TEXT_FRAMEBUFFER)) {
void vbe_textmode_console(void);
vbe_textmode_console();
}
/* Remember this was a successful boot */
set_boot_successful();
/* turn off the boot watchdog */
watchdog_off();
}
|