1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
4 #include <pc80/i8254.h>
8 static void beep_and_blink(void)
10 static uint8_t blink
= 0;
11 static uint8_t beep_count
= 0;
13 gpio_set(GPP_E8
, blink
);
14 /* Beep 12 times at most, constant beeps may be annoying */
15 if (beep_count
< 12) {
31 /* Make SATA LED blink and use PC SPKR */
32 gpio_output(GPP_E8
, 0);