1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/console.h>
8 #include "board_beep.h"
10 static void beep_and_blink(void)
12 static uint8_t blink
= 0;
13 static uint8_t beep_count
= 0;
15 gpio_set(GPP_B14
, blink
);
16 /* Beep 12 times at most, constant beeps may be annoying */
17 if (beep_count
< 12) {
33 /* Make SATA LED blink and use PC SPKR */
34 gpio_output(GPP_B14
, 0);