diff options
Diffstat (limited to 'src/mainboard/google/slippy/variants/wolf')
-rw-r--r-- | src/mainboard/google/slippy/variants/wolf/gpio.c (renamed from src/mainboard/google/slippy/variants/wolf/include/variant/gpio.h) | 7 | ||||
-rw-r--r-- | src/mainboard/google/slippy/variants/wolf/romstage.c | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mainboard/google/slippy/variants/wolf/include/variant/gpio.h b/src/mainboard/google/slippy/variants/wolf/gpio.c index 7b1276ad55..9be9077777 100644 --- a/src/mainboard/google/slippy/variants/wolf/include/variant/gpio.h +++ b/src/mainboard/google/slippy/variants/wolf/gpio.c @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef WOLF_GPIO_H -#define WOLF_GPIO_H - -struct pch_lp_gpio_map; +#include <southbridge/intel/lynxpoint/lp_gpio.h> const struct pch_lp_gpio_map mainboard_gpio_map[] = { LP_GPIO_UNUSED, /* 0: UNUSED */ @@ -103,5 +100,3 @@ const struct pch_lp_gpio_map mainboard_gpio_map[] = { LP_GPIO_UNUSED, /* 94: UNUSED */ LP_GPIO_END }; - -#endif diff --git a/src/mainboard/google/slippy/variants/wolf/romstage.c b/src/mainboard/google/slippy/variants/wolf/romstage.c index fd8e63275c..b35160f628 100644 --- a/src/mainboard/google/slippy/variants/wolf/romstage.c +++ b/src/mainboard/google/slippy/variants/wolf/romstage.c @@ -10,7 +10,6 @@ #include <northbridge/intel/haswell/raminit.h> #include <southbridge/intel/lynxpoint/pch.h> #include <southbridge/intel/lynxpoint/lp_gpio.h> -#include <variant/gpio.h> #include "../../variant.h" /* Copy SPD data for on-board memory */ @@ -84,6 +83,5 @@ void variant_romstage_entry(struct romstage_params *rp) memcpy(rp->pei_data->usb2_ports, usb2_ports, sizeof(usb2_ports)); memcpy(rp->pei_data->usb3_ports, usb3_ports, sizeof(usb3_ports)); - rp->gpio_map = &mainboard_gpio_map; rp->copy_spd = copy_spd; } |