Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68031 )
Change subject: cpu/x86/mtrr/mtrr.c: Add missing <stdbool.h> ......................................................................
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 --- M src/cpu/x86/mtrr/mtrr.c 1 file changed, 24 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Martin L Roth: Looks good to me, approved
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 41164bb..5f7535f 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