]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: qemu: Add required linux/sizes.h include
authorSimon Glass <sjg@chromium.org>
Mon, 31 Jul 2023 03:02:04 +0000 (21:02 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:12 +0000 (23:31 +0800)
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>
arch/x86/cpu/qemu/dram.c
arch/x86/cpu/qemu/e820.c

index 595c397d4a4fe009d498ef0e61b5cc505c76cf39..1a52d1dc52282716f867cb13f2bf9460ccaa619c 100644 (file)
@@ -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;
 
index 19e54c5202a923eebd1ce7d8bc76b53b1d0333cb..ebfe5956442a9320c399335e4968e384d5144171 100644 (file)
@@ -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;