summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-04-19 20:37:51 -0500
committerAaron Durbin <adurbin@chromium.org>2016-04-21 20:48:14 +0200
commit5481c961b265ef5128ab67b24d0416df22d1f693 (patch)
tree1be924448edad0662da489319fa2405c14a3b03d /src/arch/riscv
parentd4afa938c3f8b72e2d3572dc74d60b731f4ddeb0 (diff)
downloadcoreboot-5481c961b265ef5128ab67b24d0416df22d1f693.tar.xz
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 <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14435 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/riscv/tables.c b/src/arch/riscv/tables.c
index 20891e8d67..92213c5b9c 100644
--- a/src/arch/riscv/tables.c
+++ b/src/arch/riscv/tables.c
@@ -24,6 +24,10 @@
#include <cbmem.h>
#include <lib.h>
+void arch_write_tables(uintptr_t coreboot_table)
+{
+}
+
void bootmem_arch_add_ranges(void)
{
}