coreboot-kgpe-d16/payloads/libpayload/arch
Mathias Krause 898de6111a libpayload: multiboot - support meminfo flag
Some simple implementation of the MultiBoot protocol may not pass a
memory map (MULTIBOOT_FLAGS_MMAP missing in the flags) but just the two
values for low and high memory, indicated by the MULTIBOOT_FLAGS_MEMINFO
flag.

Support those kind of boot loaders too, instead of falling back to the
hard-coded values in lib_get_sysinfo().

Tested with a multiboot enhanced version of FILO.

Change-Id: I22cf9e3ec0075aff040390bd177c5cd22d439b81
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-on: https://review.coreboot.org/18350
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-02-17 18:20:38 +01:00
..
arm libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00
arm64
mips libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00
x86 libpayload: multiboot - support meminfo flag 2017-02-17 18:20:38 +01:00