summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-31 14:06:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-03 13:08:23 +0000
commit5318d9c9d13b39908b03b8184184fd913221b71e (patch)
tree194ee375ba3a18a7b87e236061b00dd56004f31f /src/drivers/intel
parentf743e0c0e4e31f41230f2c8e27299e2e56259b77 (diff)
{device,drivers}: Include <cpu/cpu.h> instead of <arch/cpu.h>
Also sort includes. Change-Id: I1727bf56b4090d040aab413006dec7aca0587d44 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69038 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/fsp1_1/include/fsp/util.h2
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/util.h2
-rw-r--r--src/drivers/intel/mipi_camera/camera.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp1_1/include/fsp/util.h b/src/drivers/intel/fsp1_1/include/fsp/util.h
index 2dec3f0fb2..2f927607c2 100644
--- a/src/drivers/intel/fsp1_1/include/fsp/util.h
+++ b/src/drivers/intel/fsp1_1/include/fsp/util.h
@@ -3,7 +3,7 @@
#ifndef FSP1_1_UTIL_H
#define FSP1_1_UTIL_H
-#include <arch/cpu.h>
+#include <cpu/cpu.h>
#include <fsp/api.h>
/* Current users expect to get the SoC's FSP definitions by including util.h. */
#include <fsp/soc_binding.h>
diff --git a/src/drivers/intel/fsp2_0/include/fsp/util.h b/src/drivers/intel/fsp2_0/include/fsp/util.h
index 96dc472361..1cc422e5db 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/util.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/util.h
@@ -6,7 +6,7 @@
#include <boot/coreboot_tables.h>
#include <cbfs.h>
#include <commonlib/region.h>
-#include <arch/cpu.h>
+#include <cpu/cpu.h>
#include <fsp/api.h>
#include <efi/efi_datatype.h>
#include <fsp/info_header.h>
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index ad473bc0b2..5b69c01aba 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -5,7 +5,7 @@
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <acpi/acpigen_pci.h>
-#include <arch/cpu.h>
+#include <cpu/cpu.h>
#include <console/console.h>
#include <cpu/intel/cpu_ids.h>
#include <device/i2c_simple.h>