1d2094f76179e43c5bb1cd2ce7f3bb1a342db76e
[coreboot.git] / src / mainboard / asus / m2v-mx_se / mainboard.c
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License v2 as published by
8  * the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18  */
19
20 #include <console/console.h>
21 #include <device/device.h>
22 #include <device/pci.h>
23 #include <device/pci_ids.h>
24 #include <boot/tables.h>
25 #include "chip.h"
26
27 /* in arch/i386/boot/tables.c */
28 extern uint64_t high_tables_base, high_tables_size;
29
30 int add_mainboard_resources(struct lb_memory *mem)
31 {
32 #if HAVE_HIGH_TABLES == 1
33         printk_debug("Adding high table area\n");
34         lb_add_memory_range(mem, LB_MEM_TABLE,
35                 high_tables_base, high_tables_size);
36 #endif
37         return 0;
38 }
39
40 struct chip_operations mainboard_ops = {
41         CHIP_NAME("ASUS M2V-MX SE Mainboard")
42 };