diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-02 09:57:08 +0200 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-06 16:59:00 +0000 |
commit | 69c02b0cd8e4aad0b94288bb1cf00476c7a4a3f9 (patch) | |
tree | 63ca668b4c4870c9781e1996ae1d71f7a6cc6e1e | |
parent | 0932435a02d07299d3b05fc88a9f8a473f85bbf6 (diff) |
cpu/x86/mtrr/mtrr.c: Add missing <stdbool.h>
Remove <stdint.h>, <stddef.h> and add <stdbool.h>. All of them are
included through <types.h>.
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: If5296988c68302896e3676d7b80d0f133d5d4264
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68031
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
-rw-r--r-- | src/cpu/x86/mtrr/mtrr.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 41164bb3fb..5f7535fa39 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -8,21 +8,21 @@ * Programming */ -#include <stddef.h> -#include <stdint.h> -#include <string.h> +#include <assert.h> #include <bootstate.h> #include <commonlib/helpers.h> #include <console/console.h> -#include <device/device.h> -#include <device/pci_ids.h> +#include <cpu/amd/mtrr.h> #include <cpu/cpu.h> +#include <cpu/x86/cache.h> #include <cpu/x86/msr.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/cache.h> +#include <device/device.h> +#include <device/pci_ids.h> #include <memrange.h> -#include <cpu/amd/mtrr.h> -#include <assert.h> +#include <string.h> +#include <types.h> + #if CONFIG(X86_AMD_FIXED_MTRRS) #define MTRR_FIXED_WRBACK_BITS (MTRR_READ_MEM | MTRR_WRITE_MEM) #else |