summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-02 10:46:31 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-06 16:59:22 +0000
commitf0b28d8d8964fd03706269818d14c58edfdef068 (patch)
treef39e6ea6609b83d23054a98f6439fbd4f2d73714 /src
parentafc5f9b8b218015a20c0055a1f40c3ab820bacaf (diff)
arch/x86/mmap_boot.c: Clean up includes
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I85e60c189c1ec1da5cf0e5b864447ef6f7b3f548 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68033 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/mmap_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/mmap_boot.c b/src/arch/x86/mmap_boot.c
index f0ccc86fbe..0e9812f3c7 100644
--- a/src/arch/x86/mmap_boot.c
+++ b/src/arch/x86/mmap_boot.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <boot_device.h>
-#include <endian.h>
#include <spi_flash.h>
+#include <stdint.h>
/* The ROM is memory mapped just below 4GiB. Form a pointer for the base. */
#define rom_base ((void *)(uintptr_t)(0x100000000ULL-CONFIG_ROM_SIZE))