soc/amd: Include <gpio.h> instead of <soc/gpio.h>
<gpio.h> chain-include <soc/gpio.h>. Change-Id: I112e41ad4c7ee638954dfe3f1ddfeb10c138459a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71807 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
parent
8f2e5c90e4
commit
5e2602ae48
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
/* see the IOMUX function table for the mapping from GPIO number to GEVENT number */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef AMD_CEZANNE_I2C_H
|
||||
#define AMD_CEZANNE_I2C_H
|
||||
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
#define GPIO_I2C0_SCL BIT(0)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <device/mmio.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/uart.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
|
||||
static int acpigen_soc_gpio_op(const char *op, unsigned int gpio_num)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <amdblocks/smi.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/smi.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* TODO: Update for Glinda */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
/* see the IOMUX function table for the mapping from GPIO number to GEVENT number */
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef AMD_GLINDA_I2C_H
|
||||
#define AMD_GLINDA_I2C_H
|
||||
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
#define GPIO_I2C0_SCL BIT(0)
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <device/mmio.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/uart.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
/* see the IOMUX function table for the mapping from GPIO number to GEVENT number */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef AMD_MENDOCINO_I2C_H
|
||||
#define AMD_MENDOCINO_I2C_H
|
||||
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
#define GPIO_I2C0_SCL BIT(0)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <device/mmio.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/uart.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
/* see the IOMUX function table for the mapping from GPIO number to GEVENT number */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef AMD_PHOENIX_I2C_H
|
||||
#define AMD_PHOENIX_I2C_H
|
||||
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
#define GPIO_I2C0_SCL BIT(0)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <device/mmio.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/uart.h>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include <cpu/x86/smm.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <gpio.h>
|
||||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <amdblocks/chip.h>
|
||||
|
@ -24,7 +25,6 @@
|
|||
#include <soc/pci_devs.h>
|
||||
#include <soc/msr.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <version.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
static const struct soc_amd_event gpio_event_table[] = {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#ifndef AMD_PICASSO_I2C_H
|
||||
#define AMD_PICASSO_I2C_H
|
||||
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
#include <soc/gpio.h>
|
||||
|
||||
#define GPIO_I2C2_SCL BIT(2)
|
||||
#define GPIO_I2C3_SCL BIT(3)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/gpio.h>
|
||||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/uart.h>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <cpu/x86/smm.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <gpio.h>
|
||||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <amdblocks/ioapic.h>
|
||||
|
@ -20,7 +21,6 @@
|
|||
#include <soc/pci_devs.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/northbridge.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <version.h>
|
||||
|
||||
unsigned long acpi_fill_madt(unsigned long current)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
static const struct soc_amd_event gpio_event_table[] = {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#ifndef AMD_STONEYRIDGE_I2C_H
|
||||
#define AMD_STONEYRIDGE_I2C_H
|
||||
|
||||
#include <gpio.h>
|
||||
#include <types.h>
|
||||
#include <soc/gpio.h>
|
||||
|
||||
#define GPIO_I2C0_SCL BIT(0)
|
||||
#define GPIO_I2C1_SCL BIT(1)
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include <amdblocks/gpio.h>
|
||||
#include <amdblocks/uart.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/aoac_defs.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <types.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue