2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2008 coresystems GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
23 #include <device/device.h>
24 #include <console/console.h>
25 #include <boot/tables.h>
28 /* in arch/i386/boot/tables.c */
29 extern uint64_t high_tables_base, high_tables_size;
31 /* in northbridge/intel/i945/northbridge.c */
32 extern uint64_t uma_memory_base, uma_memory_size;
34 int add_mainboard_resources(struct lb_memory *mem)
36 #if HAVE_HIGH_TABLES == 1
37 printk_debug("Adding high table area\n");
38 lb_add_memory_range(mem, LB_MEM_TABLE,
39 high_tables_base, high_tables_size);
41 printk_debug("Adding UMA memory area\n");
42 lb_add_memory_range(mem, LB_MEM_RESERVED,
43 uma_memory_base, uma_memory_size);
48 struct chip_operations mainboard_ops = {
49 CHIP_NAME("Kontron 986LCD-M Mainboard")