diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-31 13:46:00 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-03 13:07:39 +0000 |
commit | f743e0c0e4e31f41230f2c8e27299e2e56259b77 (patch) | |
tree | a590ad38f7443df7ed380b0b6bc5f1ec3077ff8c /src/soc/amd/common | |
parent | 35c3ae3bf4a43a36028fbd9e34ea4cb758029bf1 (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/common')
-rw-r--r-- | src/soc/amd/common/block/acpi/cppc.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/cpu/cpu.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/cpu/noncar/write_resume_eip.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/cpu/update_microcode.c | 10 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/amd/common/block/acpi/cppc.c b/src/soc/amd/common/block/acpi/cppc.c index ce40057c5d..81a09b4037 100644 --- a/src/soc/amd/common/block/acpi/cppc.c +++ b/src/soc/amd/common/block/acpi/cppc.c @@ -3,7 +3,7 @@ #include <acpi/acpi_pm.h> #include <acpi/acpigen.h> #include <amdblocks/cppc.h> -#include <arch/cpu.h> +#include <cpu/cpu.h> #include <soc/msr.h> #include <types.h> diff --git a/src/soc/amd/common/block/cpu/cpu.c b/src/soc/amd/common/block/cpu/cpu.c index bece89bc72..7c1daf96f1 100644 --- a/src/soc/amd/common/block/cpu/cpu.c +++ b/src/soc/amd/common/block/cpu/cpu.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <amdblocks/cpu.h> +#include <cpu/cpu.h> int get_cpu_count(void) { diff --git a/src/soc/amd/common/block/cpu/noncar/write_resume_eip.c b/src/soc/amd/common/block/cpu/noncar/write_resume_eip.c index d53916107e..5863917920 100644 --- a/src/soc/amd/common/block/cpu/noncar/write_resume_eip.c +++ b/src/soc/amd/common/block/cpu/noncar/write_resume_eip.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <acpi/acpi.h> -#include <arch/cpu.h> #include <amdblocks/cpu.h> #include <cpu/amd/msr.h> +#include <cpu/cpu.h> #include <cpu/x86/msr.h> #include <stdint.h> diff --git a/src/soc/amd/common/block/cpu/update_microcode.c b/src/soc/amd/common/block/cpu/update_microcode.c index 79aaaf5d65..cfffbc0326 100644 --- a/src/soc/amd/common/block/cpu/update_microcode.c +++ b/src/soc/amd/common/block/cpu/update_microcode.c @@ -1,15 +1,15 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> -#include <types.h> -#include <cpu/amd/microcode.h> +#include <cbfs.h> #include <commonlib/helpers.h> #include <console/console.h> -#include <cpu/x86/msr.h> +#include <cpu/amd/microcode.h> #include <cpu/amd/msr.h> -#include <cbfs.h> +#include <cpu/cpu.h> +#include <cpu/x86/msr.h> #include <stdio.h> #include <timestamp.h> +#include <types.h> #define CPU_MICROCODE_BLOB_NAME "cpu_microcode_XXXX.bin" #define CPU_MICROCODE_BLOB_FORMAT "cpu_microcode_%04x.bin" |