diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-02-10 10:52:47 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-19 19:21:15 +0100 |
commit | f6ada1c30755f3de22942996bfcf6490a9b7b6e4 (patch) | |
tree | d57d3fd540397690152c81f617f372ed45182ed3 /src/include/boot | |
parent | 38cd3756b8b04786bea75fa10ca59ff3d46ac14e (diff) | |
download | coreboot-f6ada1c30755f3de22942996bfcf6490a9b7b6e4.tar.xz |
lib/coreboot_table: add function to allow arch code to add records
Add lb_arch_add_records() to allow the architecture code to
generically hook into the coreboot table generation.
BUG=chrome-os-partner:50214
BRANCH=glados
TEST=With all subsequent patches confirmed lb_arch_add_records() is
called when a strong symbol is provided.
Change-Id: I7c69c0ff0801392bbcf5aef586a48388b624afd4
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13669
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/include/boot')
-rw-r--r-- | src/include/boot/coreboot_tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h index ff942f1be1..34183a0d08 100644 --- a/src/include/boot/coreboot_tables.h +++ b/src/include/boot/coreboot_tables.h @@ -22,6 +22,9 @@ void lb_board(struct lb_header *header); /* Define this in soc or fsp driver to add specific table entries. */ void lb_framebuffer(struct lb_header *header); +/* Allow arch to add records. */ +void lb_arch_add_records(struct lb_header *header); + /* * Function to retrieve MAC address(es) from the VPD and store them in the * coreboot table. |