1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
7 * The method should be overwritten in mainboard directory to signal that a
8 * fatal error had occurred. On boards that do share the same EC and where the
9 * EC is capable of controlling LEDs or a buzzer the method can be overwritten
10 * in EC directory instead.
12 __weak
void die_notify(void)
16 /* Report a fatal error */
17 void __noreturn
die(const char *fmt
, ...)
22 vprintk(BIOS_EMERG
, fmt
, args
);