diff options
Diffstat (limited to 'src/mainboard/google/guybrush/bootblock.c')
-rw-r--r-- | src/mainboard/google/guybrush/bootblock.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/bootblock.c b/src/mainboard/google/guybrush/bootblock.c index d7a30b0d11..5eacd0b9d0 100644 --- a/src/mainboard/google/guybrush/bootblock.c +++ b/src/mainboard/google/guybrush/bootblock.c @@ -2,6 +2,9 @@ #include <bootblock_common.h> #include <baseboard/variants.h> +#include <delay.h> +#include <gpio.h> +#include <soc/gpio.h> void bootblock_mainboard_early_init(void) { @@ -10,4 +13,13 @@ void bootblock_mainboard_early_init(void) gpios = variant_bootblock_gpio_table(&num_gpios); program_gpios(gpios, num_gpios); + + if (CONFIG(GPIO_SIGN_OF_LIFE)) { + for (int x = 0; x < 20; x++) { + gpio_set(GPIO_31, 1); + mdelay(10); + gpio_set(GPIO_31, 0); + mdelay(10); + } + } } |