repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/starlabs/{lite_adl,byte_adl}: Don't select MAINBOARD_HAS_TPM2
[coreboot2.git]
/
src
/
mainboard
/
opencellular
/
elgon
/
death.c
blob
514456c2a66118d67494a7b1cb7d5b4a8764f980
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <soc/gpio.h>
4
#include <console/console.h>
5
#include <delay.h>
6
#include
"mainboard.h"
7
8
void
die_notify
(
void
)
9
{
10
const
u32 rate
=
1000
/
10
;
// blink at 5 Hz
11
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
);
18
}