Files
system76-coreboot/payloads/libpayload/include
Julius Werner 06e3dcac45 cbfs: Remove broken remnants of PAYLOAD_INFO feature
PAYLOAD_INFO is a very old feature that can add a key/value information
section to a payload file. It seems to have only ever been generated by
coreinfo and never really read by anything.

Since CB:1721 in 2012, the feature has been inadvertently broken in
practice since the `.note.pinfo` sections that contain the information
get discarded from the payload before cbfstool gets to see them. Since
CB:28647 in 2018, support for the section in the SELF loader was
(inadvertently?) dropped, so if someone actually fed cbfstool a payload
ELF that did have a `.note.pinfo` section, modern coreboot would refuse
to boot the payload entirely (which is probably not a good state to
leave things in).

This patch removes the code to generate PAYLOAD_INFO entries entirely,
but leaves the support to parse and extract those sections from old
payloads in place in cbfstool.

Change-Id: I40d8e9b76a171ebcdaa2eae02d54a1ca5e592c85
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81087
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2024-03-13 18:51:11 +00:00
..
2021-04-07 10:58:04 +00:00
2022-09-01 14:21:11 +00:00
2024-02-22 21:18:39 +00:00
2020-09-21 16:20:57 +00:00
2022-07-04 14:02:26 +00:00
2022-03-09 02:18:21 +00:00
2021-06-18 04:38:33 +00:00
2011-07-07 22:29:53 +02:00
2020-09-21 16:20:57 +00:00
2020-10-26 06:57:06 +00:00
2023-11-21 13:50:53 +00:00