Bruce Griffith | 79f47cf | 2014-08-15 12:38:21 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Advanced Micro Devices, Inc. |
| 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 as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 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. |
Bruce Griffith | 79f47cf | 2014-08-15 12:38:21 -0600 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #include <console/console.h> |
| 17 | #include <device/device.h> |
| 18 | #include <device/pci.h> |
| 19 | #include <arch/io.h> |
| 20 | #include <device/pci_def.h> |
| 21 | #include <arch/acpi.h> |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 22 | #include <northbridge/amd/pi/BiosCallOuts.h> |
Kyösti Mälkki | 023ed1f | 2014-10-22 08:05:36 +0300 | [diff] [blame] | 23 | #include <northbridge/amd/pi/agesawrapper.h> |
Bruce Griffith | 79f47cf | 2014-08-15 12:38:21 -0600 | [diff] [blame] | 24 | #include <cpu/x86/msr.h> |
| 25 | #include <cpu/amd/mtrr.h> |
| 26 | |
| 27 | /********************************************** |
| 28 | * enable the dedicated function in mainboard. |
| 29 | **********************************************/ |
| 30 | static void mainboard_enable(device_t dev) |
| 31 | { |
| 32 | printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); |
Bruce Griffith | 79f47cf | 2014-08-15 12:38:21 -0600 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | struct chip_operations mainboard_ops = { |
| 36 | .enable_dev = mainboard_enable, |
| 37 | }; |