summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-11-08 17:34:27 -0800
committerAaron Durbin <adurbin@chromium.org>2015-04-10 16:48:30 +0200
commitefb546dfeb5dfe13ad4d4d0e8db577be9b4069b8 (patch)
tree1f99bf920e658835b54a9f1b81e8ad90ad03a8d4 /src/lib
parentaed887f3cb9cf400d67d9250991382cdd8d9a531 (diff)
downloadcoreboot-efb546dfeb5dfe13ad4d4d0e8db577be9b4069b8.tar.xz
ramoops: Add support for passing ramoops region through cb tables.
CQ-DEPEND=CL:228856 BUG=chrome-os-partner:33676 BRANCH=None TEST=ramoops buffer verified on ryu. Original-Change-Id: I29584f89ded0c22c4f255a40951a179b54761053 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/228744 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit e8b2c8b75c51160df177edc14c90e5bd3836e931) Signed-off-by: Aaron Durbin <adurbin@chromium.org> Change-Id: I5fdeb59056945a602584584edce9c782151ca8ea Reviewed-on: http://review.coreboot.org/9442 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/coreboot_table.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index 332bed172a..afb6743876 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -473,6 +473,10 @@ unsigned long write_coreboot_table(
/* Add board-specific table entries, if any. */
lb_board(head);
+#if IS_ENABLED(CONFIG_CHROMEOS_RAMOOPS)
+ lb_ramoops(head);
+#endif
+
/* Remember where my valid memory ranges are */
return lb_table_fini(head);
}