summaryrefslogtreecommitdiff
path: root/src/mainboard/via/vt8454c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-28 12:57:25 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-04-28 12:57:25 +0000
commitbccaafc677c3b51c730baebf83073f8db166550d (patch)
treea80743e174441221bb7bc7f2d0aa9d3b7f9e0ca6 /src/mainboard/via/vt8454c
parentd107593691631ff1ae34fbb98d03d5085ed5b07a (diff)
downloadcoreboot-bccaafc677c3b51c730baebf83073f8db166550d.tar.xz
add_mainboard_resources is necessary for some boards (eg. kontron), but
this generic code could be added to the caller of add_mainboard_resources (wrapped in HAVE_HIGH_TABLES, of course). That way, boards that really need it (for other things) can use this function, while others don't have to do anything to use HAVE_HIGH_TABLES. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4223 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/vt8454c')
-rw-r--r--src/mainboard/via/vt8454c/Options.lb2
-rw-r--r--src/mainboard/via/vt8454c/mainboard.c15
2 files changed, 0 insertions, 17 deletions
diff --git a/src/mainboard/via/vt8454c/Options.lb b/src/mainboard/via/vt8454c/Options.lb
index a8dfd0b6a6..befd8a6e32 100644
--- a/src/mainboard/via/vt8454c/Options.lb
+++ b/src/mainboard/via/vt8454c/Options.lb
@@ -27,7 +27,6 @@ uses HAVE_OPTION_TABLE
uses USE_OPTION_TABLE
uses HAVE_LOW_TABLES
uses HAVE_HIGH_TABLES
-uses HAVE_MAINBOARD_RESOURCES
uses USE_FALLBACK_IMAGE
uses HAVE_FALLBACK_BOOT
@@ -147,7 +146,6 @@ default HAVE_OPTION_TABLE=1
##
default HAVE_LOW_TABLES=1
default HAVE_HIGH_TABLES=1
-default HAVE_MAINBOARD_RESOURCES=1
##
diff --git a/src/mainboard/via/vt8454c/mainboard.c b/src/mainboard/via/vt8454c/mainboard.c
index 359fa30c4c..e931ccdafb 100644
--- a/src/mainboard/via/vt8454c/mainboard.c
+++ b/src/mainboard/via/vt8454c/mainboard.c
@@ -20,23 +20,8 @@
*/
#include <device/device.h>
-#include <boot/tables.h>
-#include <console/console.h>
#include "chip.h"
-/* in arch/i386/boot/tables.c */
-extern uint64_t high_tables_base, high_tables_size;
-
-int add_mainboard_resources(struct lb_memory *mem)
-{
-#if HAVE_HIGH_TABLES == 1
- printk_debug("Adding high table area\n");
- lb_add_memory_range(mem, LB_MEM_TABLE,
- high_tables_base, high_tables_size);
-#endif
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("VIA VT8454c Mainboard")
};