From f743e0c0e4e31f41230f2c8e27299e2e56259b77 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 31 Oct 2022 13:46:00 +0100 Subject: soc/amd: Include instead of Also sort includes. Change-Id: Iea29938623fe1b2bcdd7f869b0accbc1f8758e7a Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69033 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/cezanne/romstage.c | 2 +- src/soc/amd/common/block/acpi/cppc.c | 2 +- src/soc/amd/common/block/cpu/cpu.c | 2 +- .../amd/common/block/cpu/noncar/write_resume_eip.c | 2 +- src/soc/amd/common/block/cpu/update_microcode.c | 10 +++++----- src/soc/amd/glinda/romstage.c | 2 +- src/soc/amd/mendocino/romstage.c | 2 +- src/soc/amd/morgana/romstage.c | 2 +- src/soc/amd/picasso/agesa_acpi.c | 20 ++++++++++---------- src/soc/amd/picasso/romstage.c | 2 +- src/soc/amd/picasso/soc_util.c | 4 ++-- src/soc/amd/stoneyridge/romstage.c | 4 ++-- 12 files changed, 27 insertions(+), 27 deletions(-) (limited to 'src/soc') diff --git a/src/soc/amd/cezanne/romstage.c b/src/soc/amd/cezanne/romstage.c index dce0b69735..b843bff7dc 100644 --- a/src/soc/amd/cezanne/romstage.c +++ b/src/soc/amd/cezanne/romstage.c @@ -4,8 +4,8 @@ #include #include #include -#include #include +#include #include #include #include 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 #include #include -#include +#include #include #include 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 #include +#include 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 -#include #include #include +#include #include #include 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 -#include -#include +#include #include #include -#include +#include #include -#include +#include +#include #include #include +#include #define CPU_MICROCODE_BLOB_NAME "cpu_microcode_XXXX.bin" #define CPU_MICROCODE_BLOB_FORMAT "cpu_microcode_%04x.bin" diff --git a/src/soc/amd/glinda/romstage.c b/src/soc/amd/glinda/romstage.c index dce0b69735..b843bff7dc 100644 --- a/src/soc/amd/glinda/romstage.c +++ b/src/soc/amd/glinda/romstage.c @@ -4,8 +4,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/src/soc/amd/mendocino/romstage.c b/src/soc/amd/mendocino/romstage.c index dfec897c03..3548a79457 100644 --- a/src/soc/amd/mendocino/romstage.c +++ b/src/soc/amd/mendocino/romstage.c @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/src/soc/amd/morgana/romstage.c b/src/soc/amd/morgana/romstage.c index dce0b69735..b843bff7dc 100644 --- a/src/soc/amd/morgana/romstage.c +++ b/src/soc/amd/morgana/romstage.c @@ -4,8 +4,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c index 35eedcb91a..839d7c0652 100644 --- a/src/soc/amd/picasso/agesa_acpi.c +++ b/src/soc/amd/picasso/agesa_acpi.c @@ -1,24 +1,24 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include -#include +#include +#include +#include +#include +#include +#include #include #include -#include -#include -#include +#include #include #include #include -#include -#include -#include -#include +#include +#include #include #include -#include +#include static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current) { diff --git a/src/soc/amd/picasso/romstage.c b/src/soc/amd/picasso/romstage.c index ccb11f083a..9958af2221 100644 --- a/src/soc/amd/picasso/romstage.c +++ b/src/soc/amd/picasso/romstage.c @@ -3,9 +3,9 @@ #include #include #include -#include #include #include +#include #include #include #include diff --git a/src/soc/amd/picasso/soc_util.c b/src/soc/amd/picasso/soc_util.c index c82416ea18..9616f26bf5 100644 --- a/src/soc/amd/picasso/soc_util.c +++ b/src/soc/amd/picasso/soc_util.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include -#include +#include #include +#include #include #include #include diff --git a/src/soc/amd/stoneyridge/romstage.c b/src/soc/amd/stoneyridge/romstage.c index 7d1124ad45..54fc51ee99 100644 --- a/src/soc/amd/stoneyridge/romstage.c +++ b/src/soc/amd/stoneyridge/romstage.c @@ -2,16 +2,16 @@ #include #include -#include #include +#include #include #include -#include #include #include #include #include #include +#include #include #include #include -- cgit v1.2.3