summaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-31 14:02:13 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-08 14:38:28 +0000
commitad65e8c041b1d375936267bacc578254407e095f (patch)
treef2a0a29e7b3a354bba1dba5a6003e67d6621b30f /src/cpu/intel/haswell
parentdf1aea1f2a13ea3fbee6ea2c9d4137ba3ee762b8 (diff)
cpu: Include <cpu/cpu.h> instead of <arch/cpu.h>
Also sort includes. Change-Id: Ia4a3807e45777e2a596878fe09e3c80b1fd2704d Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69037 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/cpu/intel/haswell')
-rw-r--r--src/cpu/intel/haswell/acpi.c9
-rw-r--r--src/cpu/intel/haswell/haswell.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c
index 5e5fa813c6..1f028c3f3f 100644
--- a/src/cpu/intel/haswell/acpi.c
+++ b/src/cpu/intel/haswell/acpi.c
@@ -1,14 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <types.h>
-#include <console/console.h>
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
-#include <arch/cpu.h>
-#include <cpu/x86/msr.h>
+#include <console/console.h>
+#include <cpu/cpu.h>
#include <cpu/intel/speedstep.h>
#include <cpu/intel/turbo.h>
+#include <cpu/x86/msr.h>
#include <device/device.h>
+#include <types.h>
+
#include "haswell.h"
#include "chip.h"
diff --git a/src/cpu/intel/haswell/haswell.h b/src/cpu/intel/haswell/haswell.h
index 133a12945d..5697d0f36e 100644
--- a/src/cpu/intel/haswell/haswell.h
+++ b/src/cpu/intel/haswell/haswell.h
@@ -3,7 +3,7 @@
#ifndef _CPU_INTEL_HASWELL_H
#define _CPU_INTEL_HASWELL_H
-#include <arch/cpu.h>
+#include <cpu/cpu.h>
#include <stdint.h>
/* CPU types without stepping */