coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
die.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
console/console.h
>
4
#include <
delay.h
>
5
#include <gpio.h>
6
7
void
die_notify
(
void
)
8
{
9
if
(
ENV_POSTCAR
) {
10
return
;
11
}
12
13
/* Make SATA LED blink */
14
while
(1) {
15
gpio_set
(
GPP_E8
, 1);
16
mdelay
(100);
17
gpio_set
(
GPP_E8
, 0);
18
mdelay
(100);
19
}
20
}
GPP_E8
#define GPP_E8
Definition:
gpio_soc_defs.h:636
die_notify
__weak void die_notify(void)
Definition:
die.c:12
console.h
delay.h
mdelay
void mdelay(unsigned int msecs)
Definition:
delay.c:2
gpio_set
void gpio_set(gpio_t gpio, int value)
Definition:
gpio.c:174
ENV_POSTCAR
#define ENV_POSTCAR
Definition:
rules.h:154
src
mainboard
acer
aspire_vn7_572g
die.c
Generated by
1.9.1