blob: 8693737aac075c600bd813e801d284c1b95877da [file] [log] [blame]
Bruce Griffith79f47cf2014-08-15 12:38:21 -06001/*
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 Griffith79f47cf2014-08-15 12:38:21 -060014 */
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älkkie4c17ce2014-10-21 18:22:32 +030022#include <northbridge/amd/pi/BiosCallOuts.h>
Kyösti Mälkki023ed1f2014-10-22 08:05:36 +030023#include <northbridge/amd/pi/agesawrapper.h>
Bruce Griffith79f47cf2014-08-15 12:38:21 -060024#include <cpu/x86/msr.h>
25#include <cpu/amd/mtrr.h>
26
27/**********************************************
28 * enable the dedicated function in mainboard.
29 **********************************************/
30static void mainboard_enable(device_t dev)
31{
32 printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
Bruce Griffith79f47cf2014-08-15 12:38:21 -060033}
34
35struct chip_operations mainboard_ops = {
36 .enable_dev = mainboard_enable,
37};