From 5481c961b265ef5128ab67b24d0416df22d1f693 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 19 Apr 2016 20:37:51 -0500 Subject: lib/coreboot_table: add architecture hooks for adding tables Add a architecture specific function, arch_write_tables(), that allows an architecture to add its required tables for booting. This callback helps write_tables() to be de-duplicated. Change-Id: I805c2f166b1e75942ad28b6e7e1982d64d2d5498 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/14435 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/mips/tables.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/arch/mips') diff --git a/src/arch/mips/tables.c b/src/arch/mips/tables.c index d54b8d6e20..32e73bc1e2 100644 --- a/src/arch/mips/tables.c +++ b/src/arch/mips/tables.c @@ -25,6 +25,10 @@ #include #include +void arch_write_tables(uintptr_t coreboot_table) +{ +} + void bootmem_arch_add_ranges(void) { } -- cgit v1.2.3