summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-02 09:48:38 +0300
committerPeter Stuge <peter@stuge.se>2012-08-08 03:44:51 +0200
commit1c5071d1753b759f1f3c58fca93eaa7a0aabb804 (patch)
treecfdf71c3d7da8f055e7629c415108a1ca1076eae /src/arch
parent62673c0290790da8eaee6a4d3f951ec29d0e6fa9 (diff)
downloadcoreboot-1c5071d1753b759f1f3c58fca93eaa7a0aabb804.tar.xz
Drop HAVE_MAINBOARD_RESOURCES
These existed to provide a hook to add reserved memory regions in the coreboot memory table. Reserved memory are now added as resources. Change-Id: I9f83df33845cfa6973b018a51cf9444dbf0f8667 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1414 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/coreboot_table.c4
-rw-r--r--src/arch/x86/include/arch/coreboot_tables.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/x86/boot/coreboot_table.c b/src/arch/x86/boot/coreboot_table.c
index 5b5834a868..9050836fa2 100644
--- a/src/arch/x86/boot/coreboot_table.c
+++ b/src/arch/x86/boot/coreboot_table.c
@@ -667,10 +667,6 @@ unsigned long write_coreboot_table(
/* Add reserved regions */
add_lb_reserved(mem);
-#if CONFIG_HAVE_MAINBOARD_RESOURCES
- add_mainboard_resources(mem);
-#endif
-
lb_dump_memory_ranges(mem);
/* Note:
diff --git a/src/arch/x86/include/arch/coreboot_tables.h b/src/arch/x86/include/arch/coreboot_tables.h
index b177949fb1..8fc648b2ca 100644
--- a/src/arch/x86/include/arch/coreboot_tables.h
+++ b/src/arch/x86/include/arch/coreboot_tables.h
@@ -16,10 +16,6 @@ void lb_memory_range(struct lb_memory *mem,
*/
struct lb_memory *get_lb_mem(void);
-/* defined by mainboard.c if the mainboard requires extra resources */
-int add_mainboard_resources(struct lb_memory *mem);
-int add_northbridge_resources(struct lb_memory *mem);
-
void fill_lb_gpios(struct lb_gpios *gpios);
#endif /* COREBOOT_TABLE_H */