2010-02-22 07:09:43 +01:00
|
|
|
#include <fallback.h>
|
|
|
|
#include <watchdog.h>
|
2003-04-22 21:02:15 +02:00
|
|
|
|
2016-12-11 11:56:37 +01:00
|
|
|
/* Implement platform specific override. */
|
|
|
|
void __attribute__((weak)) set_boot_successful(void) { }
|
2005-07-08 04:49:49 +02:00
|
|
|
|
|
|
|
void boot_successful(void)
|
|
|
|
{
|
2017-05-20 16:46:01 +02:00
|
|
|
if (IS_ENABLED(CONFIG_FRAMEBUFFER_SET_VESA_MODE) &&
|
|
|
|
IS_ENABLED(CONFIG_VGA_TEXT_FRAMEBUFFER)) {
|
|
|
|
void vbe_textmode_console(void);
|
|
|
|
|
|
|
|
vbe_textmode_console();
|
|
|
|
}
|
2010-02-22 05:33:13 +01:00
|
|
|
|
2005-07-08 04:49:49 +02:00
|
|
|
/* Remember this was a successful boot */
|
|
|
|
set_boot_successful();
|
|
|
|
|
|
|
|
/* turn off the boot watchdog */
|
|
|
|
watchdog_off();
|
|
|
|
}
|