From: Bin Meng Date: Thu, 13 Aug 2015 00:29:08 -0700 Subject: [U-Boot] [PATCH 02/11] x86: coreboot: Increase memrange entry number to 32 In-Reply-To: <1439450957-23197-1-git-send-email-bmeng.cn@gmail.com> References: <1439450957-23197-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1439450957-23197-3-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/x86/include/asm/arch-coreboot/sysinfo.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/include/asm/arch-coreboot/sysinfo.h b/arch/x86/include/asm/arch-coreboot/sysinfo.h index 832c50a..2d57245 100644 --- a/arch/x86/include/asm/arch-coreboot/sysinfo.h +++ b/arch/x86/include/asm/arch-coreboot/sysinfo.h @@ -9,15 +9,12 @@ #ifndef _COREBOOT_SYSINFO_H #define _COREBOOT_SYSINFO_H -#include -#include -#include #include -/* 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; -- 1.8.2.1