From f6ada1c30755f3de22942996bfcf6490a9b7b6e4 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 10 Feb 2016 10:52:47 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/13669 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Andrey Petrov --- src/arch/x86/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/arch/x86/cpu.c') diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c index d46e591ddd..5afae8b486 100644 --- a/src/arch/x86/cpu.c +++ b/src/arch/x86/cpu.c @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#include #include #include #include @@ -287,3 +288,7 @@ void cpu_initialize(unsigned int index) return; } + +void lb_arch_add_records(struct lb_header *header) +{ +} -- cgit v1.2.3