summaryrefslogtreecommitdiff
path: root/src/include/cbmem.h
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin@das-labor.org>2018-08-16 00:31:26 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-08-22 08:18:54 +0000
commit84258db5d51c2611284c826c3e0eca2e3fd960fe (patch)
treec1c175069e998611229be56ba7a3a4ea0114b70f /src/include/cbmem.h
parentfa1a07bf509bee95a9f4291c9a6fe639ae512d94 (diff)
lib/fit_payload: Add coreboot tables support for FDT.
Copy code of depthcharge boot/coreboot.c and adapt it. Tested on Cavium CN8100 EVB SFF, /sys/firmware/log is readable and prints the log. Change-Id: Ib714a021a24f51407558f484cd97aa58ecd43977 Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/28104 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include/cbmem.h')
-rw-r--r--src/include/cbmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index 007bc54b76..562829801e 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -111,6 +111,8 @@ void cbmem_fail_resume(void);
/* Ramstage only functions. */
/* Add the cbmem memory used to the memory map at boot. */
void cbmem_add_bootmem(void);
+/* Return the cbmem memory used */
+void cbmem_get_region(void **baseptr, size_t *size);
void cbmem_list(void);
void cbmem_add_records_to_cbtable(struct lb_header *header);