2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2013 Google Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
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.
20 #include <device/device.h>
21 #include <device/device.h>
22 #include <device/pci_def.h>
23 #include <device/pci_ops.h>
24 #include <console/console.h>
25 #include <drivers/intel/gma/int15.h>
26 #include <pc80/mc146818rtc.h>
27 #include <arch/acpi.h>
29 #include <arch/interrupt.h>
30 #include <boot/coreboot_tables.h>
31 #include "board_version.h"
34 void mainboard_suspend_resume(void)
38 const char *smbios_mainboard_version(void)
40 return samus_board_version();
43 static void mainboard_init(device_t dev
)
48 // mainboard_enable is executed as first thing after
51 static void mainboard_enable(device_t dev
)
53 dev
->ops
->init
= mainboard_init
;
54 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP
, GMA_INT15_PANEL_FIT_CENTERING
, GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
57 struct chip_operations mainboard_ops
= {
58 .enable_dev
= mainboard_enable
,