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