libpayload: Implement new CBFS access API
This commit adds new CBFS API, which is based on the one available in the main coreboot source tree. Libpayload implementation supports RO/RW file lookups and file contents verification. Change-Id: I00da0658dbac0cddf92ad55611def947932d23c7 Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59497 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Felix Held
parent
1fa3da4d9b
commit
63e54275f6
@@ -28,3 +28,9 @@
|
||||
|
||||
libcbfs-$(CONFIG_LP_CBFS) += cbfs.c
|
||||
libcbfs-$(CONFIG_LP_CBFS) += ram_media.c
|
||||
libcbfs-$(CONFIG_LP_CBFS) += cbfs_legacy.c
|
||||
|
||||
ifeq ($(CONFIG_LP_CBFS),y)
|
||||
libcbfs-srcs += $(coreboottop)/src/commonlib/bsd/cbfs_private.c
|
||||
libcbfs-srcs += $(coreboottop)/src/commonlib/bsd/cbfs_mcache.c
|
||||
endif
|
||||
|
Reference in New Issue
Block a user