libpayload: Allow using CBFS functions on images in RAM
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 17 Jan 2012 14:52:05 +0000 (15:52 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Thu, 26 Jan 2012 11:27:24 +0000 (12:27 +0100)
commit409d17dee7b407729a29c067ab064c78be18841e
tree81ae00cef0ab7c2c57d6d323ec831266b6aad4d8
parente8689ed974992b35aede9cd831b428ac37d9be76
libpayload: Allow using CBFS functions on images in RAM

Two new functions allow switching the CBFS functions from using RAM
or ROM, with ROM as default.

Change-Id: I04d67ad622d25c5728ae9a63f5b8a3dc9bbacce6
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/550
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
payloads/libpayload/include/cbfs.h
payloads/libpayload/libcbfs/cbfs.c