diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-31 14:02:13 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-08 14:38:28 +0000 |
commit | ad65e8c041b1d375936267bacc578254407e095f (patch) | |
tree | f2a0a29e7b3a354bba1dba5a6003e67d6621b30f /src/cpu/x86 | |
parent | df1aea1f2a13ea3fbee6ea2c9d4137ba3ee762b8 (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/x86')
-rw-r--r-- | src/cpu/x86/mtrr/xip_cache.c | 4 | ||||
-rw-r--r-- | src/cpu/x86/name/name.c | 2 | ||||
-rw-r--r-- | src/cpu/x86/pae/pgtbl.c | 2 | ||||
-rw-r--r-- | src/cpu/x86/tsc/delay_tsc.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/x86/mtrr/xip_cache.c b/src/cpu/x86/mtrr/xip_cache.c index 6ed96af95f..dc3bf2450c 100644 --- a/src/cpu/x86/mtrr/xip_cache.c +++ b/src/cpu/x86/mtrr/xip_cache.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> -#include <program_loading.h> #include <commonlib/region.h> #include <console/console.h> +#include <cpu/cpu.h> #include <cpu/x86/mtrr.h> +#include <program_loading.h> /* For now this is a good lowest common denominator for the total CPU cache. TODO: fetch the total amount of cache from CPUID leaf2. */ diff --git a/src/cpu/x86/name/name.c b/src/cpu/x86/name/name.c index bf62aef298..1b71e5d8e8 100644 --- a/src/cpu/x86/name/name.c +++ b/src/cpu/x86/name/name.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> +#include <cpu/cpu.h> #include <cpu/x86/name.h> #include <stdint.h> #include <string.h> diff --git a/src/cpu/x86/pae/pgtbl.c b/src/cpu/x86/pae/pgtbl.c index dceeb88af5..e16fa02cb4 100644 --- a/src/cpu/x86/pae/pgtbl.c +++ b/src/cpu/x86/pae/pgtbl.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <cbfs.h> #include <commonlib/helpers.h> #include <console/console.h> +#include <cpu/cpu.h> #include <cpu/x86/cr.h> #include <cpu/x86/msr.h> #include <cpu/x86/pae.h> diff --git a/src/cpu/x86/tsc/delay_tsc.c b/src/cpu/x86/tsc/delay_tsc.c index 978a6ee8e9..4253b18dab 100644 --- a/src/cpu/x86/tsc/delay_tsc.c +++ b/src/cpu/x86/tsc/delay_tsc.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> +#include <cpu/cpu.h> #include <cpu/x86/tsc.h> #include <delay.h> #include <stdint.h> |