Attention is currently required from: Jakub Czapiga. Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59494
to look at the new patch set (#4).
Change subject: libpayload/libc/fmap: Implement new FlashMap API ......................................................................
libpayload/libc/fmap: Implement new FlashMap API
This patch introduces new FlashMap API, the fmap_locate_area(). This function requires implementation of libpayload_boot_device_read(), and either lib_sysinfo.fmap_cache or lib_sysinfo.fmap_offset to be set. This function uses its own cache in RAM to limit flash reads to maximum of two calls to libpayload_boot_device_read().
Change-Id: Idbf9016ce73aa58e17f3ee19920ab83dc6c25abb Signed-off-by: Jakub Czapiga jacz@semihalf.com --- A payloads/libpayload/include/fmap.h M payloads/libpayload/include/libpayload.h M payloads/libpayload/libc/fmap.c A payloads/libpayload/tests/include/mocks/boot_device.h A payloads/libpayload/tests/libc/Makefile.inc A payloads/libpayload/tests/libc/fmap_locate_area-test.c A payloads/libpayload/tests/mocks/boot_device.c 7 files changed, 287 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/59494/4