/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include #include void bootblock_mainboard_early_init(void) { size_t num_gpios; const struct soc_amd_gpio *gpios; if (!CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)) { gpios = variant_early_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); } } }