diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-09-22 20:05:53 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-23 18:33:00 +0000 |
commit | dea4e0fe683faef0becac4930769693422da5a85 (patch) | |
tree | 6652608b4524222e08b1464af63428ea925d0410 /src/soc/amd | |
parent | 2876e4f49aec84288d2b8d24885e5b22241fe907 (diff) |
soc/amd/common/blocks/include: rename gpio_banks.h to gpio.h
This brings the AMD SoC GPIO code in line with the Intel SoC code and
removes the not really needed suffix.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ie2dbec81dfe503869beb2872b01a7475e2b88b33
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57842
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/cezanne/fch.c | 2 | ||||
-rw-r--r-- | src/soc/amd/cezanne/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/amd/cezanne/include/soc/gpio.h | 2 | ||||
-rw-r--r-- | src/soc/amd/cezanne/uart.c | 2 | ||||
-rw-r--r-- | src/soc/amd/cezanne/xhci.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/gpio/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/i2c/i2c.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/acpi.h | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/gpio.h (renamed from src/soc/amd/common/block/include/amdblocks/gpio_banks.h) | 0 | ||||
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/i2c.h | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/pm/chipset_state.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/fch.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/gpio.h | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/uart.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/xhci.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/include/soc/gpio.h | 2 |
18 files changed, 17 insertions, 17 deletions
diff --git a/src/soc/amd/cezanne/fch.c b/src/soc/amd/cezanne/fch.c index f39eeb6f28..80ce9466ec 100644 --- a/src/soc/amd/cezanne/fch.c +++ b/src/soc/amd/cezanne/fch.c @@ -3,7 +3,7 @@ #include <amdblocks/acpi.h> #include <amdblocks/acpimmio.h> #include <amdblocks/amd_pci_util.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/smi.h> #include <assert.h> #include <bootstate.h> diff --git a/src/soc/amd/cezanne/gpio.c b/src/soc/amd/cezanne/gpio.c index f2a59e0497..8ac2870dee 100644 --- a/src/soc/amd/cezanne/gpio.c +++ b/src/soc/amd/cezanne/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <soc/gpio.h> #include <types.h> diff --git a/src/soc/amd/cezanne/include/soc/gpio.h b/src/soc/amd/cezanne/include/soc/gpio.h index d12d7b5a87..904c3fcc8d 100644 --- a/src/soc/amd/cezanne/include/soc/gpio.h +++ b/src/soc/amd/cezanne/include/soc/gpio.h @@ -8,7 +8,7 @@ #ifndef __ACPI__ #include <soc/iomap.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #endif /* !__ACPI__ */ #include <amdblocks/gpio_defs.h> diff --git a/src/soc/amd/cezanne/uart.c b/src/soc/amd/cezanne/uart.c index 5aca5a23b8..e5f2e4edbb 100644 --- a/src/soc/amd/cezanne/uart.c +++ b/src/soc/amd/cezanne/uart.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <amdblocks/aoac.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/uart.h> #include <commonlib/helpers.h> #include <console/console.h> diff --git a/src/soc/amd/cezanne/xhci.c b/src/soc/amd/cezanne/xhci.c index a77830c7b0..f599007b17 100644 --- a/src/soc/amd/cezanne/xhci.c +++ b/src/soc/amd/cezanne/xhci.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/smi.h> #include <bootstate.h> #include <device/device.h> diff --git a/src/soc/amd/common/block/gpio/gpio.c b/src/soc/amd/common/block/gpio/gpio.c index 263757988a..1141846842 100644 --- a/src/soc/amd/common/block/gpio/gpio.c +++ b/src/soc/amd/common/block/gpio/gpio.c @@ -8,7 +8,7 @@ #include <gpio.h> #include <amdblocks/acpi.h> #include <amdblocks/acpimmio.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/smi.h> #include <soc/gpio.h> #include <soc/smi.h> diff --git a/src/soc/amd/common/block/i2c/i2c.c b/src/soc/amd/common/block/i2c/i2c.c index bba3de7287..892c83e91f 100644 --- a/src/soc/amd/common/block/i2c/i2c.c +++ b/src/soc/amd/common/block/i2c/i2c.c @@ -3,7 +3,7 @@ #include <acpi/acpi.h> #include <assert.h> #include <amdblocks/acpimmio.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/gpio_defs.h> #include <amdblocks/i2c.h> #include <console/console.h> diff --git a/src/soc/amd/common/block/include/amdblocks/acpi.h b/src/soc/amd/common/block/include/amdblocks/acpi.h index f0ba2acac5..550b7d7619 100644 --- a/src/soc/amd/common/block/include/amdblocks/acpi.h +++ b/src/soc/amd/common/block/include/amdblocks/acpi.h @@ -4,7 +4,7 @@ #define AMD_BLOCK_ACPI_H #include <acpi/acpi.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <types.h> /* ACPI MMIO registers 0xfed80800 */ diff --git a/src/soc/amd/common/block/include/amdblocks/gpio_banks.h b/src/soc/amd/common/block/include/amdblocks/gpio.h index 21b73f775b..21b73f775b 100644 --- a/src/soc/amd/common/block/include/amdblocks/gpio_banks.h +++ b/src/soc/amd/common/block/include/amdblocks/gpio.h diff --git a/src/soc/amd/common/block/include/amdblocks/i2c.h b/src/soc/amd/common/block/include/amdblocks/i2c.h index 22a408ec92..6660e3779c 100644 --- a/src/soc/amd/common/block/include/amdblocks/i2c.h +++ b/src/soc/amd/common/block/include/amdblocks/i2c.h @@ -3,7 +3,7 @@ #ifndef AMD_COMMON_BLOCK_I2C_H #define AMD_COMMON_BLOCK_I2C_H -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <device/i2c.h> #include <drivers/i2c/designware/dw_i2c.h> #include <types.h> diff --git a/src/soc/amd/common/block/pm/chipset_state.c b/src/soc/amd/common/block/pm/chipset_state.c index 302ee60aba..42d1a159c4 100644 --- a/src/soc/amd/common/block/pm/chipset_state.c +++ b/src/soc/amd/common/block/pm/chipset_state.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <amdblocks/acpi.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/pmlib.h> #include <cbmem.h> #include <elog.h> diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c index 0798e20c04..711091c5c5 100644 --- a/src/soc/amd/picasso/fch.c +++ b/src/soc/amd/picasso/fch.c @@ -13,7 +13,7 @@ #include <amdblocks/reset.h> #include <amdblocks/acpimmio.h> #include <amdblocks/acpi.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/i2c.h> #include <amdblocks/smi.h> #include <soc/acpi.h> diff --git a/src/soc/amd/picasso/gpio.c b/src/soc/amd/picasso/gpio.c index fe7d14b139..65fb4d8f5b 100644 --- a/src/soc/amd/picasso/gpio.c +++ b/src/soc/amd/picasso/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <soc/gpio.h> #include <types.h> diff --git a/src/soc/amd/picasso/include/soc/gpio.h b/src/soc/amd/picasso/include/soc/gpio.h index b3c8140680..01a997daa8 100644 --- a/src/soc/amd/picasso/include/soc/gpio.h +++ b/src/soc/amd/picasso/include/soc/gpio.h @@ -8,7 +8,7 @@ #ifndef __ACPI__ #include <soc/iomap.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #endif /* !__ACPI__ */ #include <amdblocks/gpio_defs.h> diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index 6e1fb95be0..b8532aaddf 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -4,7 +4,7 @@ #include <commonlib/helpers.h> #include <device/device.h> #include <device/mmio.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/aoac.h> #include <amdblocks/uart.h> #include <soc/aoac_defs.h> diff --git a/src/soc/amd/picasso/xhci.c b/src/soc/amd/picasso/xhci.c index a7e480767e..84b3a2b82d 100644 --- a/src/soc/amd/picasso/xhci.c +++ b/src/soc/amd/picasso/xhci.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <amdblocks/smi.h> #include <bootstate.h> #include <device/device.h> diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c index 90c23a2b4c..b16172f507 100644 --- a/src/soc/amd/stoneyridge/gpio.c +++ b/src/soc/amd/stoneyridge/gpio.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> #include <soc/gpio.h> #include <types.h> diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h index 6fefa7972b..5cd688dece 100644 --- a/src/soc/amd/stoneyridge/include/soc/gpio.h +++ b/src/soc/amd/stoneyridge/include/soc/gpio.h @@ -8,7 +8,7 @@ #ifndef __ACPI__ #include <soc/iomap.h> -#include <amdblocks/gpio_banks.h> +#include <amdblocks/gpio.h> /* The following sections describe only the GPIOs defined for this SOC */ |