Dear folks, in order to better support userspace tools like fwupd[1] I've send patches to expose more coreboot functions using the google firmware drivers[2]. Both functions depend on the FMAP being placed in a cbmem buffer[3].
This particular patch set allows to read the FMAP and get the active CBFS partition in use. Please test and review.
[1]: https://github.com/fwupd/fwupd/pull/1370 [2]: https://lkml.org/lkml/2019/10/8/378 [3]: https://review.coreboot.org/c/coreboot/+/35377
Regards, Patrick Rudolph
9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany Email: patrick.rudolph@9elements.com Phone: +49 234 / 68 94 188
Sitz der Gesellschaft: Bochum Handelsregister: Amtsgericht Bochum, HRB 13207 Geschäftsführung: Eray Basar, Sebastian Deutsch