{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>
This commit is contained in:
parent
f743e0c0e4
commit
5318d9c9d1
|
@ -3,7 +3,7 @@
|
||||||
#ifndef __DEVICE_OPROM_REALMODE_X86_H__
|
#ifndef __DEVICE_OPROM_REALMODE_X86_H__
|
||||||
#define __DEVICE_OPROM_REALMODE_X86_H__
|
#define __DEVICE_OPROM_REALMODE_X86_H__
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define REALMODE_BASE ((void *)0x600)
|
#define REALMODE_BASE ((void *)0x600)
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#include <amdblocks/biosram.h>
|
|
||||||
#include <acpi/acpi.h>
|
#include <acpi/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <amdblocks/biosram.h>
|
||||||
#include <arch/romstage.h>
|
#include <arch/romstage.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <cpu/cpu.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <northbridge/amd/agesa/state_machine.h>
|
||||||
#include <program_loading.h>
|
#include <program_loading.h>
|
||||||
|
#include <romstage_common.h>
|
||||||
#include <romstage_handoff.h>
|
#include <romstage_handoff.h>
|
||||||
#include <smp/node.h>
|
#include <smp/node.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
#include <romstage_common.h>
|
|
||||||
#include <northbridge/amd/agesa/agesa_helper.h>
|
|
||||||
#include <northbridge/amd/agesa/state_machine.h>
|
|
||||||
|
|
||||||
void __weak board_BeforeAgesa(struct sysinfo *cb) { }
|
void __weak board_BeforeAgesa(struct sysinfo *cb) { }
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef FSP1_1_UTIL_H
|
#ifndef FSP1_1_UTIL_H
|
||||||
#define FSP1_1_UTIL_H
|
#define FSP1_1_UTIL_H
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <fsp/api.h>
|
#include <fsp/api.h>
|
||||||
/* Current users expect to get the SoC's FSP definitions by including util.h. */
|
/* Current users expect to get the SoC's FSP definitions by including util.h. */
|
||||||
#include <fsp/soc_binding.h>
|
#include <fsp/soc_binding.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <boot/coreboot_tables.h>
|
#include <boot/coreboot_tables.h>
|
||||||
#include <cbfs.h>
|
#include <cbfs.h>
|
||||||
#include <commonlib/region.h>
|
#include <commonlib/region.h>
|
||||||
#include <arch/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <fsp/api.h>
|
#include <fsp/api.h>
|
||||||
#include <efi/efi_datatype.h>
|
#include <efi/efi_datatype.h>
|
||||||
#include <fsp/info_header.h>
|
#include <fsp/info_header.h>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <acpi/acpi_device.h>
|
#include <acpi/acpi_device.h>
|
||||||
#include <acpi/acpigen.h>
|
#include <acpi/acpigen.h>
|
||||||
#include <acpi/acpigen_pci.h>
|
#include <acpi/acpigen_pci.h>
|
||||||
#include <arch/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/intel/cpu_ids.h>
|
#include <cpu/intel/cpu_ids.h>
|
||||||
#include <device/i2c_simple.h>
|
#include <device/i2c_simple.h>
|
||||||
|
|
Loading…
Reference in New Issue