diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-11-12 13:45:29 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-12-23 14:37:42 +0000 |
commit | 8fac662f308cdfbeec3f71d4728f71ad79c06925 (patch) | |
tree | bc2e73ab891c1643ccbf3bde29b36b7f95383735 /payloads/libpayload/tests/libc/Makefile.inc | |
parent | e7006fb414d20aa49b1aa7d6e2e5a979f5395a6d (diff) |
libpayload/libc/fmap: Implement new FlashMap API
This patch introduces new FlashMap API, the fmap_locate_area().
It works on cached FlashMap provided in lib_sysinfo.fmap_cache.
Change-Id: Idbf9016ce73aa58e17f3ee19920ab83dc6c25abb
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59494
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/tests/libc/Makefile.inc')
-rw-r--r-- | payloads/libpayload/tests/libc/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/libpayload/tests/libc/Makefile.inc b/payloads/libpayload/tests/libc/Makefile.inc new file mode 100644 index 0000000000..5f92bdf0a8 --- /dev/null +++ b/payloads/libpayload/tests/libc/Makefile.inc @@ -0,0 +1,3 @@ +tests-y += fmap_locate_area-test + +fmap_locate_area-test-srcs += tests/libc/fmap_locate_area-test.c |