diff options
Diffstat (limited to 'src/mainboard/google/zork/variants/berknip')
-rw-r--r-- | src/mainboard/google/zork/variants/berknip/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/google/zork/variants/berknip/romstage.c | 27 |
2 files changed, 0 insertions, 29 deletions
diff --git a/src/mainboard/google/zork/variants/berknip/Makefile.inc b/src/mainboard/google/zork/variants/berknip/Makefile.inc index b1212bcbdd..57e7136ddc 100644 --- a/src/mainboard/google/zork/variants/berknip/Makefile.inc +++ b/src/mainboard/google/zork/variants/berknip/Makefile.inc @@ -2,6 +2,4 @@ subdirs-y += ./spd -romstage-y += ./romstage.c - ramstage-y += gpio.c diff --git a/src/mainboard/google/zork/variants/berknip/romstage.c b/src/mainboard/google/zork/variants/berknip/romstage.c deleted file mode 100644 index 67ad31c6d8..0000000000 --- a/src/mainboard/google/zork/variants/berknip/romstage.c +++ /dev/null @@ -1,27 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <stddef.h> -#include <soc/romstage.h> -#include <baseboard/variants.h> -#include <ec/google/chromeec/ec.h> - -#include <gpio.h> -#include <soc/gpio.h> -#include <variant/gpio.h> - -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; -} |