summaryrefslogtreecommitdiffstats
path: root/src/include/boot
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-04-19 21:38:18 -0500
committerAaron Durbin <adurbin@chromium.org>2016-04-21 20:49:05 +0200
commita4db050318c52ae59c8914c9bc9ae25e1e344238 (patch)
tree6600f7e461cbca197a4ebfd23f35bf584d114f1c /src/include/boot
parent5481c961b265ef5128ab67b24d0416df22d1f693 (diff)
downloadcoreboot-a4db050318c52ae59c8914c9bc9ae25e1e344238.tar.gz
coreboot-a4db050318c52ae59c8914c9bc9ae25e1e344238.tar.bz2
coreboot-a4db050318c52ae59c8914c9bc9ae25e1e344238.zip
lib: add common write_tables() implementation
In order to de-duplicate common patterns implement one write_tables() function. The new write_tables() replaces all the architecture-specific ones that were largely copied. The callbacks are put in place to handle any per-architecture requirements. Change-Id: Id3d7abdce5b30f5557ccfe1dacff3c58c59f5e2b Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14436 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/boot')
-rw-r--r--src/include/boot/coreboot_tables.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index dda1e1aaa468..5647629d76ab 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -5,10 +5,6 @@
#include <stddef.h>
/* function prototypes for building the coreboot table */
-unsigned long write_coreboot_table(
- unsigned long low_table_start, unsigned long low_table_end,
- unsigned long rom_table_start, unsigned long rom_table_end);
-
/*
* Write forwarding table of target address at entry address returning size
* of table written.