summaryrefslogtreecommitdiff
path: root/src/lib/cbfs_master_header.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2024-02-15 10:28:00 +0100
committerLean Sheng Tan <sheng.tan@9elements.com>2024-02-18 07:50:28 +0000
commit7d4155e6e6751ccd1f0b39051462d6842b435fe2 (patch)
tree0c47797344602fce218d10fab5191f517d6170d5 /src/lib/cbfs_master_header.c
parent29f7c4f0a6ee00b743c5e1c5ad66753109d1dede (diff)
util/cbfstool/linux_trampoline: Support more e820 entries
Since linux commit f9ba70535dc12d9eb57d466a2ecd749e16eca866 "[PATCH] Increase number of e820 entries hard limit from 32 to 128" made in 2005 the number of e820 entries passed from the bootloader is 128. Use the boot protocol version to check for support of 128 entries and use them if necessary. Tested on IBM/SBP1: Fixes booting a Linux payload when more than 32 entries are present in the memory table, which can easily happen on a 4 socket platform. Change-Id: Iec0a832fff091b6c3ae7050ef63e743a30618f25 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80544 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marvin Drees <marvin.drees@9elements.com> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/cbfs_master_header.c')
0 files changed, 0 insertions, 0 deletions