]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: coreboot: Increase memrange entry number to 32
authorBin Meng <bmeng.cn@gmail.com>
Thu, 13 Aug 2015 07:29:08 +0000 (00:29 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:44 +0000 (11:29 +0200)
Increase lib_sysinfo memrange entry number to 32 to sync with coreboot.
This allows a complete E820 table to be reported to the kernel, as on
some platforms (eg: Bayley Bay) having only 16 entires does not cover
all the memory ranges.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-coreboot/sysinfo.h

index 832c50aa63886e5e96c3cb852cf0746e02271afa..2d5724503c17794258f9585ebc3c74e197f732e3 100644 (file)
@@ -9,15 +9,12 @@
 #ifndef _COREBOOT_SYSINFO_H
 #define _COREBOOT_SYSINFO_H
 
-#include <common.h>
-#include <linux/compiler.h>
-#include <libfdt.h>
 #include <asm/arch/tables.h>
 
-/* Allow a maximum of 16 memory range definitions. */
-#define SYSINFO_MAX_MEM_RANGES 16
+/* Maximum number of memory range definitions */
+#define SYSINFO_MAX_MEM_RANGES 32
 /* Allow a maximum of 8 GPIOs */
-#define SYSINFO_MAX_GPIOS 8
+#define SYSINFO_MAX_GPIOS      8
 
 struct sysinfo_t {
        int n_memranges;