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>
This commit is contained in:
parent
35c3ae3bf4
commit
f743e0c0e4
12 changed files with 28 additions and 28 deletions
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/memmap.h>
|
||||
#include <amdblocks/pmlib.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <fsp/api.h>
|
||||
#include <program_loading.h>
|
||||
#include <romstage_common.h>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/memmap.h>
|
||||
#include <amdblocks/pmlib.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <fsp/api.h>
|
||||
#include <program_loading.h>
|
||||
#include <romstage_common.h>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <amdblocks/memmap.h>
|
||||
#include <amdblocks/pmlib.h>
|
||||
#include <amdblocks/stb.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <fsp/api.h>
|
||||
#include <program_loading.h>
|
||||
#include <romstage_common.h>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/memmap.h>
|
||||
#include <amdblocks/pmlib.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <fsp/api.h>
|
||||
#include <program_loading.h>
|
||||
#include <romstage_common.h>
|
||||
|
|
|
@ -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 <cpu/amd/cpuid.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <FspGuids.h>
|
||||
#include <soc/acpi.h>
|
||||
#include <stdint.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.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 <cpu/cpu.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
#include <acpi/acpi.h>
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <amdblocks/agesawrapper.h>
|
||||
#include <amdblocks/agesawrapper_call.h>
|
||||
#include <amdblocks/agesawrapper.h>
|
||||
#include <amdblocks/biosram.h>
|
||||
#include <amdblocks/psp.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/romstage.h>
|
||||
#include <cbmem.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
|
|
Loading…
Reference in a new issue