mb/google/zork: use gpio.h include
Replace the amdblocks/gpio.h, amdblocks/gpio_defs.h and soc/gpio.h includes with the common gpio.h which will include soc/gpio.h which will include amdblocks/gpio.h which will include amdblocks/gpio_defs.h in the AMD SoC case. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I37a33dd8821a00b7edfd1e5b593f71bea0e77630 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70434 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
parent
2cc2bd2d2f
commit
ee2f0b499b
|
@ -6,14 +6,12 @@
|
|||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <amdblocks/amd_pci_util.h>
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <amdblocks/smi.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <boardid.h>
|
||||
#include <gpio.h>
|
||||
#include <smbios.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/platform_descriptors.h>
|
||||
#include <soc/southbridge.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/variants.h>
|
||||
#include <delay.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/smi.h>
|
||||
#include <variant/gpio.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include <delay.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/smi.h>
|
||||
#include <variant/gpio.h>
|
||||
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
#define __BASEBOARD_GPIO_H__
|
||||
|
||||
#ifndef __ACPI__
|
||||
#include <amdblocks/gpio_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
|
||||
#if CONFIG(BOARD_GOOGLE_BASEBOARD_TREMBYLE)
|
||||
#define EC_IN_RW_OD GPIO_130
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <drivers/i2c/hid/chip.h>
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/pci_devs.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <gpio.h>
|
||||
#include <security/tpm/tis.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <variant/gpio.h>
|
||||
|
||||
int tis_plat_irq_status(void)
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio berknip_bid1_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
/* This table is used by dalboz variant with board version < 2. */
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio bid_1_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio ezkinil_bid1_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
|
||||
static const struct soc_amd_gpio dirinboz_gpio_set_stage_ram[] = {
|
||||
/* PEN_DETECT_ODL - no used */
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio morphius_bid1_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio bid_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio trembyle_bid1_bid2_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
|
||||
static const struct soc_amd_gpio bid_1_gpio_set_stage_ram[] = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/variants.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
|
||||
static const struct soc_amd_gpio woomax_bid0_gpio_set_stage_ram[] = {
|
||||
/* GPIO_4 NC */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <gpio.h>
|
||||
#include <psp_verstage.h>
|
||||
#include <security/vboot/vboot_common.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue