Marc Jones | 3b0a626 | 2015-09-15 23:05:00 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. |
| 6 | * |
| 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. |
| 10 | * |
| 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. |
Marc Jones | 3b0a626 | 2015-09-15 23:05:00 -0600 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #include <types.h> |
| 18 | #include <string.h> |
| 19 | #include <device/device.h> |
| 20 | #include <device/device.h> |
| 21 | #include <device/pci_def.h> |
| 22 | #include <device/pci_ops.h> |
| 23 | #include <console/console.h> |
| 24 | #include <pc80/mc146818rtc.h> |
| 25 | #include <arch/acpi.h> |
| 26 | #include <arch/io.h> |
| 27 | #include <boot/coreboot_tables.h> |
| 28 | #include <southbridge/intel/fsp_i89xx/pch.h> |
| 29 | |
| 30 | #if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) |
| 31 | void mainboard_suspend_resume(void) |
| 32 | { |
| 33 | /* Call SMM finalize() handlers before resume */ |
| 34 | outb(0xcb, 0xb2); |
| 35 | } |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | |
| 40 | // mainboard_enable is executed as first thing after |
| 41 | // enumerate_buses(). |
| 42 | |
| 43 | static void mainboard_enable(device_t dev) |
| 44 | { |
| 45 | } |
| 46 | |
| 47 | |
| 48 | |
| 49 | struct chip_operations mainboard_ops = { |
| 50 | .enable_dev = mainboard_enable, |
| 51 | }; |