diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-01-14 05:46:25 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-01-18 05:13:30 +0000 |
commit | 5e2602ae4817eba77e7893ab41681fd0a74f6558 (patch) | |
tree | 990fa6affaa16115a7f5d20aea437a712f0a1fb8 /src/soc/amd/phoenix | |
parent | 8f2e5c90e44c6d846a6367bb4051818fdcd577ea (diff) |
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>
Diffstat (limited to 'src/soc/amd/phoenix')
-rw-r--r-- | src/soc/amd/phoenix/gpio.c | 2 | ||||
-rw-r--r-- | src/soc/amd/phoenix/include/soc/i2c.h | 2 | ||||
-rw-r--r-- | src/soc/amd/phoenix/uart.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/phoenix/gpio.c b/src/soc/amd/phoenix/gpio.c index 74eecadcce..271e749b92 100644 --- a/src/soc/amd/phoenix/gpio.c +++ b/src/soc/amd/phoenix/gpio.c @@ -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 */ diff --git a/src/soc/amd/phoenix/include/soc/i2c.h b/src/soc/amd/phoenix/include/soc/i2c.h index 5146bf49f7..056753332c 100644 --- a/src/soc/amd/phoenix/include/soc/i2c.h +++ b/src/soc/amd/phoenix/include/soc/i2c.h @@ -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) diff --git a/src/soc/amd/phoenix/uart.c b/src/soc/amd/phoenix/uart.c index 03fc593624..1d3c82928f 100644 --- a/src/soc/amd/phoenix/uart.c +++ b/src/soc/amd/phoenix/uart.c @@ -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> |