/* * This file is part of the coreboot project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include #include #include #include #include #include #include void variant_romstage_entry(void) { /* Power the wifi card */ gpio_set(EN_PWR_WIFI, 1); } static const struct soc_amd_gpio berknip_gpio_set_wifi[] = { /* EN_PWR_WIFI - Power off. Pull high in romstage.c */ PAD_GPO(GPIO_29, LOW), }; const struct soc_amd_gpio *variant_wifi_romstage_gpio_table(size_t *size) { *size = ARRAY_SIZE(berknip_gpio_set_wifi); return berknip_gpio_set_wifi; }