HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44202 )
Change subject: src/cpu: Include <stdint.h> ......................................................................
src/cpu: Include <stdint.h>
Those files only needs <stdint.h>.
Change-Id: I68c9d758a16c6a671a589a38558a19452752e537 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/cpu/intel/speedstep/acpi.c M src/cpu/intel/speedstep/speedstep.c M src/cpu/ti/am335x/bootblock.c M src/cpu/ti/am335x/uart.c 4 files changed, 4 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/44202/1
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index 2beb890..1d8e9cf 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#include <types.h> #include <console/console.h> #include <acpi/acpi.h> #include <acpi/acpigen.h> @@ -8,6 +7,7 @@ #include <cpu/intel/fsb.h> #include <cpu/intel/speedstep.h> #include <device/device.h> +#include <stdint.h>
static int determine_total_number_of_cores(void) { diff --git a/src/cpu/intel/speedstep/speedstep.c b/src/cpu/intel/speedstep/speedstep.c index fba5df2..77494bb 100644 --- a/src/cpu/intel/speedstep/speedstep.c +++ b/src/cpu/intel/speedstep/speedstep.c @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#include <types.h> #include <string.h> #include <arch/cpu.h> #include <cpu/x86/msr.h> #include <console/console.h> #include <cpu/intel/speedstep.h> +#include <stdint.h>
/** * @brief Gather speedstep limits for current processor diff --git a/src/cpu/ti/am335x/bootblock.c b/src/cpu/ti/am335x/bootblock.c index 985e1a1..293dd4b 100644 --- a/src/cpu/ti/am335x/bootblock.c +++ b/src/cpu/ti/am335x/bootblock.c @@ -1,9 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#include <types.h> - #include <arch/cache.h> #include <bootblock_common.h> +#include <stdint.h>
void bootblock_soc_init(void) { diff --git a/src/cpu/ti/am335x/uart.c b/src/cpu/ti/am335x/uart.c index a882340..00c2f93 100644 --- a/src/cpu/ti/am335x/uart.c +++ b/src/cpu/ti/am335x/uart.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <types.h> #include <console/uart.h> #include <device/mmio.h> #include <boot/coreboot_tables.h> #include <cpu/ti/am335x/uart.h> +#include <stdint.h>
#define EFR_ENHANCED_EN (1 << 4) #define FCR_FIFO_EN (1 << 0)