summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-31 13:46:00 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-03 13:07:39 +0000
commitf743e0c0e4e31f41230f2c8e27299e2e56259b77 (patch)
treea590ad38f7443df7ed380b0b6bc5f1ec3077ff8c /src/soc/amd/picasso
parent35c3ae3bf4a43a36028fbd9e34ea4cb758029bf1 (diff)
soc/amd: Include <cpu/cpu.h> instead of <arch/cpu.h>
Also sort includes. Change-Id: Iea29938623fe1b2bcdd7f869b0accbc1f8758e7a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69033 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/agesa_acpi.c20
-rw-r--r--src/soc/amd/picasso/romstage.c2
-rw-r--r--src/soc/amd/picasso/soc_util.c4
3 files changed, 13 insertions, 13 deletions
diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c
index 35eedcb91a..839d7c0652 100644
--- a/src/soc/amd/picasso/agesa_acpi.c
+++ b/src/soc/amd/picasso/agesa_acpi.c
@@ -1,24 +1,24 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <acpi/acpi.h>
#include <acpi/acpi_crat.h>
#include <acpi/acpi_ivrs.h>
-#include <arch/cpu.h>
+#include <acpi/acpi.h>
+#include <amdblocks/acpi.h>
+#include <amdblocks/cpu.h>
+#include <amdblocks/data_fabric.h>
+#include <amdblocks/ioapic.h>
+#include <arch/mmio.h>
#include <cpu/amd/cpuid.h>
#include <cpu/amd/msr.h>
-#include <FspGuids.h>
-#include <soc/acpi.h>
-#include <stdint.h>
+#include <cpu/cpu.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <amdblocks/acpi.h>
-#include <amdblocks/cpu.h>
-#include <amdblocks/data_fabric.h>
-#include <amdblocks/ioapic.h>
+#include <FspGuids.h>
+#include <soc/acpi.h>
#include <soc/data_fabric.h>
#include <soc/pci_devs.h>
-#include <arch/mmio.h>
+#include <stdint.h>
static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current)
{
diff --git a/src/soc/amd/picasso/romstage.c b/src/soc/amd/picasso/romstage.c
index ccb11f083a..9958af2221 100644
--- a/src/soc/amd/picasso/romstage.c
+++ b/src/soc/amd/picasso/romstage.c
@@ -3,9 +3,9 @@
#include <acpi/acpi.h>
#include <amdblocks/memmap.h>
#include <amdblocks/pmlib.h>
-#include <arch/cpu.h>
#include <commonlib/helpers.h>
#include <console/console.h>
+#include <cpu/cpu.h>
#include <fsp/api.h>
#include <program_loading.h>
#include <romstage_common.h>
diff --git a/src/soc/amd/picasso/soc_util.c b/src/soc/amd/picasso/soc_util.c
index c82416ea18..9616f26bf5 100644
--- a/src/soc/amd/picasso/soc_util.c
+++ b/src/soc/amd/picasso/soc_util.c
@@ -1,9 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <arch/cpu.h>
#include <console/console.h>
-#include <FspGuids.h>
+#include <cpu/cpu.h>
#include <fsp/util.h>
+#include <FspGuids.h>
#include <misc_data.h>
#include <soc/cpu.h>
#include <soc/soc_util.h>