aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-30 21:02:04 -0600
committerBin Meng <bmeng.cn@gmail.com>2023-08-09 23:31:12 +0800
commit3cc409536232017cb69a2339c3d9c7e7a3d3d096 (patch)
treebe5a1b984b3cd735fd7a2c15448d6157a2f3caea /arch/x86
parent17b2398534c5212dd3b32db7d965e813c8a31e59 (diff)
downloadu-boot-3cc409536232017cb69a2339c3d9c7e7a3d3d096.zip
u-boot-3cc409536232017cb69a2339c3d9c7e7a3d3d096.tar.gz
u-boot-3cc409536232017cb69a2339c3d9c7e7a3d3d096.tar.bz2
x86: qemu: Add required linux/sizes.h include
These files rely on the config.h file provided this include. Add it explictily so we can move to a text environment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/qemu/dram.c1
-rw-r--r--arch/x86/cpu/qemu/e820.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/qemu/dram.c b/arch/x86/cpu/qemu/dram.c
index 595c397..1a52d1d 100644
--- a/arch/x86/cpu/qemu/dram.c
+++ b/arch/x86/cpu/qemu/dram.c
@@ -8,6 +8,7 @@
#include <asm/global_data.h>
#include <asm/post.h>
#include <asm/arch/qemu.h>
+#include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c
index 19e54c5..ebfe595 100644
--- a/arch/x86/cpu/qemu/e820.c
+++ b/arch/x86/cpu/qemu/e820.c
@@ -12,6 +12,7 @@
#include <asm/e820.h>
#include <asm/arch/qemu.h>
#include <asm/global_data.h>
+#include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR;