blob: b92a149cb4617ad23c50c83bb39d8329dd67bec2 [file] [log] [blame]
Scott Duplichana649a962011-02-24 05:00:33 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 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.
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 <arch/io.h>
Scott Duplichana649a962011-02-24 05:00:33 +000024#include <cpu/x86/msr.h>
25#include <cpu/amd/mtrr.h>
26#include <device/pci_def.h>
27//#include <southbridge/amd/sb800/sb800.h>
Scott Duplichana649a962011-02-24 05:00:33 +000028
29//#define SMBUS_IO_BASE 0x6000
30
31/**
32 * TODO
33 * SB CIMx callback
34 */
35void set_pcie_reset(void)
36{
37}
38
39/**
40 * TODO
41 * mainboard specific SB CIMx callback
42 */
43void set_pcie_dereset(void)
44{
45}
46
Scott Duplichana649a962011-02-24 05:00:33 +000047
Jens Rottmann5e707662013-02-26 15:56:11 +010048/**********************************************
49 * Enable the dedicated functions of the board.
50 **********************************************/
Paul Menzel528640d2013-02-23 21:31:23 +010051static void mainboard_enable(device_t dev)
Scott Duplichana649a962011-02-24 05:00:33 +000052{
Scott Duplichan63896e72011-02-26 17:49:49 +000053 printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
Scott Duplichana649a962011-02-24 05:00:33 +000054}
55
Scott Duplichana649a962011-02-24 05:00:33 +000056struct chip_operations mainboard_ops = {
Paul Menzel528640d2013-02-23 21:31:23 +010057 .enable_dev = mainboard_enable,
Scott Duplichana649a962011-02-24 05:00:33 +000058};