From 409d17dee7b407729a29c067ab064c78be18841e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 17 Jan 2012 15:52:05 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/550 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/include/cbfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/cbfs.h b/payloads/libpayload/include/cbfs.h index 681caeb493..8b8b0243ef 100644 --- a/payloads/libpayload/include/cbfs.h +++ b/payloads/libpayload/include/cbfs.h @@ -1,2 +1,4 @@ #include #include "cbfs_core.h" +void setup_cbfs_from_ram(void* start, uint32_t size); +void setup_cbfs_from_flash(void); -- cgit v1.2.3