lib/libpayload: Replace strapping_ids with new board configuration entry
commite1a7a26f5e8bcc95d94ae9aec8df5b5226a77f56
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Fri, 9 Oct 2020 23:07:45 +0000 (9 17:07 -0600)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Fri, 30 Oct 2020 15:25:28 +0000 (30 15:25 +0000)
treea7b07715b84e2f9936b4b34c1a26776320a42ef8
parentc70505acee27c7efad4eaa6d18542f794ff98298
lib/libpayload: Replace strapping_ids with new board configuration entry

There are currently 3 different strapping ID entries in the coreboot
table, which adds overhead. The new fw_config field is also desired in
the coreboot table, which is another kind of strapping id. Therefore,
this patch deprecates the 3 current strapping ID entries (board ID, RAM
code, and SKU ID), and adds a new entry ("board_config") which provides
board ID, RAM code, SKU ID, as well as FW_CONFIG together.

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I1ecec847ee77b72233587c1ad7f124e2027470bf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46605
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
payloads/libpayload/include/coreboot_tables.h
payloads/libpayload/include/sysinfo.h
payloads/libpayload/libc/coreboot.c
src/commonlib/include/commonlib/coreboot_tables.h
src/include/fw_config.h
src/lib/coreboot_table.c