diff options
Diffstat (limited to 'src/include/console/console.h')
-rw-r--r-- | src/include/console/console.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index aab0411600..aa935e4579 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -42,6 +42,12 @@ void post_log_clear(void); void mainboard_post(u8 value); void __attribute__((noreturn)) die(const char *msg); +/* + * This function is weak and can be overridden to provide additional + * feedback to the user. Possible use case: Play a beep. + */ +void die_notify(void); + #define __CONSOLE_ENABLE__ \ ((ENV_BOOTBLOCK && IS_ENABLED(CONFIG_BOOTBLOCK_CONSOLE)) || \ (ENV_POSTCAR && IS_ENABLED(CONFIG_POSTCAR_CONSOLE)) || \ |