diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-08 13:24:08 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-14 21:32:23 +0000 |
commit | 68eb439d80919d54247114c8c6035a65a97eadc8 (patch) | |
tree | b2206a4cc6d1f967bc6cd4ea1f974b60e8a2155c /src/soc/amd | |
parent | 7f7b01d46747e0147cac4427a2667dd6bf213a91 (diff) |
soc/amd/picasso: Clean up includes
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I4ed869627af11b607f910644b6f21898f7c7bba5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/picasso/bootblock.c | 5 | ||||
-rw-r--r-- | src/soc/amd/picasso/graphics.c | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/pcie_gpp.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/smu.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/soc/amd/picasso/bootblock.c b/src/soc/amd/picasso/bootblock.c index dd4ef3c12a..9e88ceaec4 100644 --- a/src/soc/amd/picasso/bootblock.c +++ b/src/soc/amd/picasso/bootblock.c @@ -1,13 +1,14 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stdint.h> +#include <amdblocks/amd_pci_mmconf.h> #include <amdblocks/cpu.h> #include <bootblock_common.h> #include <console/console.h> +#include <cpu/cpu.h> #include <cpu/x86/tsc.h> #include <soc/psp_transfer.h> #include <soc/southbridge.h> -#include <amdblocks/amd_pci_mmconf.h> +#include <stdint.h> asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { diff --git a/src/soc/amd/picasso/graphics.c b/src/soc/amd/picasso/graphics.c index 047559cbf3..298e177881 100644 --- a/src/soc/amd/picasso/graphics.c +++ b/src/soc/amd/picasso/graphics.c @@ -4,6 +4,7 @@ #include <device/pci_rom.h> #include <soc/cpu.h> #include <soc/soc_util.h> +#include <stdint.h> void map_oprom_vendev_rev(u32 *vendev, u8 *rev) { diff --git a/src/soc/amd/picasso/pcie_gpp.c b/src/soc/amd/picasso/pcie_gpp.c index c46135f55b..aab37f4757 100644 --- a/src/soc/amd/picasso/pcie_gpp.c +++ b/src/soc/amd/picasso/pcie_gpp.c @@ -1,7 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <amdblocks/amd_pci_util.h> +#include <commonlib/bsd/helpers.h> #include <soc/pci_devs.h> +#include <stddef.h> /* See AMD PPR 55570 - IOAPIC Initialization for the table that AGESA sets up */ const struct pci_routing_info pci_routing_table[] = { diff --git a/src/soc/amd/picasso/smu.c b/src/soc/amd/picasso/smu.c index 1496957117..076baaaded 100644 --- a/src/soc/amd/picasso/smu.c +++ b/src/soc/amd/picasso/smu.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <console/console.h> #include <amdblocks/smu.h> +#include <console/console.h> #include <soc/smu.h> /* |