summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-01-17 15:52:05 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-01-26 12:27:24 +0100
commit409d17dee7b407729a29c067ab064c78be18841e (patch)
tree81ae00cef0ab7c2c57d6d323ec831266b6aad4d8 /payloads/libpayload/include
parente8689ed974992b35aede9cd831b428ac37d9be76 (diff)
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>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/cbfs.h2
1 files changed, 2 insertions, 0 deletions
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 <arch/types.h>
#include "cbfs_core.h"
+void setup_cbfs_from_ram(void* start, uint32_t size);
+void setup_cbfs_from_flash(void);