Attention is currently required from: Julius Werner. Jakub Czapiga has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59492 )
Change subject: libpayload: Add libpayload_boot_device_read function ......................................................................
Patch Set 2:
(2 comments)
File payloads/libpayload/include/boot_device.h:
https://review.coreboot.org/c/coreboot/+/59492/comment/5fd9e608_4c6d27e4 PS1, Line 10: It has to be implemented by payloads using : * FlashMap and libCBFS.
nit: There's a bit of ambiguity in this sentence, I'd reword to "by payloads that want to use FMAP o […]
Done
File payloads/libpayload/include/libpayload.h:
https://review.coreboot.org/c/coreboot/+/59492/comment/d3d50e43_6fc3cfe5 PS1, Line 67: #include <boot_device.h>
nit: not sure this needs to be in here (it's not going to be called by payload code itself, usually)
OH, true. Payload can just implement function from this header. Thanks :)