From 1c5071d1753b759f1f3c58fca93eaa7a0aabb804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 2 Aug 2012 09:48:38 +0300 Subject: Drop HAVE_MAINBOARD_RESOURCES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/1414 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- src/arch/x86/boot/coreboot_table.c | 4 ---- src/arch/x86/include/arch/coreboot_tables.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'src/arch') 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 */ -- cgit v1.2.3