mb/starlabs/{lite_adl,byte_adl}: Don't select MAINBOARD_HAS_TPM2
[coreboot2.git] / src / mainboard / opencellular / elgon / death.c
blob514456c2a66118d67494a7b1cb7d5b4a8764f980
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/gpio.h>
4 #include <console/console.h>
5 #include <delay.h>
6 #include "mainboard.h"
8 void die_notify(void)
10 const u32 rate = 1000 / 10; // blink at 5 Hz
12 do {
13 gpio_output(ELGON_GPIO_ERROR_LED, 0);
14 mdelay(rate);
15 gpio_output(ELGON_GPIO_ERROR_LED, 1);
16 mdelay(rate);
17 } while (1);