diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-01-31 09:15:30 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-11 10:25:23 +0000 |
commit | 45ce5d897311827408b20e3c302615d9ef4dcadd (patch) | |
tree | 658e1ed845759b198bbffdf4bd43f71267451c51 /src | |
parent | d152837d342f38c02b715d0b55e92634cb6f685e (diff) |
src: Remove unused <arch/cpu.h>
Change-Id: I1112aa4635a3cf3ac1c0a0834317983b4e18135a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50172
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/intel/haswell/finalize.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/haswell/romstage.c | 1 | ||||
-rw-r--r-- | src/cpu/intel/model_2065x/finalize.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_206ax/finalize.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/adlrvp/memory.c | 4 | ||||
-rw-r--r-- | src/mainboard/intel/tglrvp/variants/tglrvp_up3/memory.c | 1 | ||||
-rw-r--r-- | src/mainboard/intel/tglrvp/variants/tglrvp_up4/memory.c | 1 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_common.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/broadwell/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/elkhartlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/icelake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/jasperlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/cpu.c | 1 |
16 files changed, 5 insertions, 17 deletions
diff --git a/src/cpu/intel/haswell/finalize.c b/src/cpu/intel/haswell/finalize.c index 3bf9225a1f..398387644e 100644 --- a/src/cpu/intel/haswell/finalize.c +++ b/src/cpu/intel/haswell/finalize.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <types.h> -#include <arch/cpu.h> #include <cpu/x86/msr.h> + #include "haswell.h" void intel_cpu_haswell_finalize_smm(void) diff --git a/src/cpu/intel/haswell/romstage.c b/src/cpu/intel/haswell/romstage.c index 3b11e93cab..c74549438a 100644 --- a/src/cpu/intel/haswell/romstage.c +++ b/src/cpu/intel/haswell/romstage.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <cpu/intel/haswell/haswell.h> #include <cpu/x86/msr.h> diff --git a/src/cpu/intel/model_2065x/finalize.c b/src/cpu/intel/model_2065x/finalize.c index e1fa968d9c..6910713d8e 100644 --- a/src/cpu/intel/model_2065x/finalize.c +++ b/src/cpu/intel/model_2065x/finalize.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <types.h> -#include <arch/cpu.h> #include <cpu/x86/msr.h> #include <cpu/intel/speedstep.h> + #include "model_2065x.h" /* MSR Documentation based on diff --git a/src/cpu/intel/model_206ax/finalize.c b/src/cpu/intel/model_206ax/finalize.c index 2298684421..afdb7df200 100644 --- a/src/cpu/intel/model_206ax/finalize.c +++ b/src/cpu/intel/model_206ax/finalize.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <types.h> -#include <arch/cpu.h> #include <cpu/x86/msr.h> + #include "model_206ax.h" /* MSR Documentation based on diff --git a/src/mainboard/intel/adlrvp/memory.c b/src/mainboard/intel/adlrvp/memory.c index 8d6aae96eb..5a7fa57832 100644 --- a/src/mainboard/intel/adlrvp/memory.c +++ b/src/mainboard/intel/adlrvp/memory.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> -#include "board_id.h" #include <baseboard/variants.h> #include <soc/romstage.h> +#include "board_id.h" + static const struct mb_cfg ddr4_mem_config = { .type = MEM_TYPE_DDR4, diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/memory.c b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/memory.c index e965e6bfc9..eedb40846a 100644 --- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/memory.c +++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/memory.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <baseboard/variants.h> #include <intelblocks/mp_init.h> diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/memory.c b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/memory.c index 8e7bb14ba0..cf2c1b9802 100644 --- a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/memory.c +++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/memory.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <baseboard/variants.h> #include <intelblocks/mp_init.h> diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index cef01316dc..2c16818700 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.c +++ b/src/northbridge/intel/sandybridge/raminit_common.c @@ -5,7 +5,6 @@ #include <console/console.h> #include <cpu/intel/model_206ax/model_206ax.h> #include <string.h> -#include <arch/cpu.h> #include <device/mmio.h> #include <device/pci_ops.h> #include <northbridge/intel/sandybridge/chip.h> diff --git a/src/soc/intel/alderlake/cpu.c b/src/soc/intel/alderlake/cpu.c index 32f5ea23a4..6de1cb011c 100644 --- a/src/soc/intel/alderlake/cpu.c +++ b/src/soc/intel/alderlake/cpu.c @@ -6,7 +6,6 @@ * Chapter number: 14 */ -#include <arch/cpu.h> #include <console/console.h> #include <device/pci.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c index f60ebd8462..5546f2746c 100644 --- a/src/soc/intel/broadwell/acpi.c +++ b/src/soc/intel/broadwell/acpi.c @@ -9,7 +9,6 @@ #include <console/console.h> #include <types.h> #include <string.h> -#include <arch/cpu.h> #include <cpu/x86/msr.h> #include <cpu/intel/turbo.h> #include <soc/acpi.h> diff --git a/src/soc/intel/cannonlake/cpu.c b/src/soc/intel/cannonlake/cpu.c index 6a4f77371b..8b845c004c 100644 --- a/src/soc/intel/cannonlake/cpu.c +++ b/src/soc/intel/cannonlake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <device/pci.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/elkhartlake/cpu.c b/src/soc/intel/elkhartlake/cpu.c index 984f7f2978..6d86b0c3ce 100644 --- a/src/soc/intel/elkhartlake/cpu.c +++ b/src/soc/intel/elkhartlake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <cpu/intel/smm_reloc.h> #include <cpu/intel/turbo.h> diff --git a/src/soc/intel/icelake/cpu.c b/src/soc/intel/icelake/cpu.c index dd70c85e11..6c3365b9cc 100644 --- a/src/soc/intel/icelake/cpu.c +++ b/src/soc/intel/icelake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <device/pci.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/jasperlake/cpu.c b/src/soc/intel/jasperlake/cpu.c index a3790e11cf..8e54eaa385 100644 --- a/src/soc/intel/jasperlake/cpu.c +++ b/src/soc/intel/jasperlake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <device/pci.h> #include <cpu/x86/lapic.h> diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c index 6872c12101..1647db4855 100644 --- a/src/soc/intel/skylake/cpu.c +++ b/src/soc/intel/skylake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/cpu.h> #include <console/console.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/soc/intel/tigerlake/cpu.c b/src/soc/intel/tigerlake/cpu.c index 974401f13c..925bddb56a 100644 --- a/src/soc/intel/tigerlake/cpu.c +++ b/src/soc/intel/tigerlake/cpu.c @@ -6,7 +6,6 @@ * Chapter number: 15 */ -#include <arch/cpu.h> #include <console/console.h> #include <device/pci.h> #include <cpu/x86/lapic.h> |