split CBFS support into shared core and extended functions
authorPatrick Georgi <patrick.georgi@secunet.com>
Thu, 21 Jul 2011 13:11:40 +0000 (15:11 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 4 Aug 2011 06:10:54 +0000 (08:10 +0200)
commitb88351537bcee4b888a80b8afeb2f7e65767e666
tree61e128cbf6835a2c22d762f2aed1dae01378bc90
parent3b77b723ca209199c8a224702812441e2196d452
split CBFS support into shared core and extended functions

The core is data structures and basic file finding capabilities,
while option ROM handling, and loading stages and payloads is
"extended".

The core is rewritten to be BSD-l (its header already was), so
can be copied to libpayload verbatim.
It's also more robust in finding files in corrupted images, eg.
after partial erase or update.

Change-Id: Ic6923debf8bdf3c67c75746d3b31f3addab3dd74
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/114
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/include/cbfs.h
src/include/cbfs_core.h [new file with mode: 0644]
src/lib/cbfs.c
src/lib/cbfs_core.c [new file with mode: 0644]