AGESA: Drop unused AGESA_MEM_TABLE
[coreboot.git] / src / mainboard / amd / torpedo / mainboard.c
blob02fba3fa41645d23b4e8d746257adf755e5006d9
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2011 Advanced Micro Devices, Inc.
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.
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.
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
20 #include <console/console.h>
21 #include <device/device.h>
22 #include <device/pci.h>
23 #include <arch/io.h>
24 #include <cpu/x86/msr.h>
25 #include <cpu/amd/mtrr.h>
26 #include <device/pci_def.h>
28 #define ONE_MB 0x100000
29 //#define SMBUS_IO_BASE 0x6000
31 void set_pcie_reset(void);
32 void set_pcie_dereset(void);
34 /**
35 * TODO
36 * SB CIMx callback
38 void set_pcie_reset(void)
42 /**
43 * TODO
44 * mainboard specific SB CIMx callback
46 void set_pcie_dereset(void)
51 /*************************************************
52 * enable the dedicated function in torpedo board.
53 *************************************************/
54 static void mainboard_enable(device_t dev)
56 printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable. dev=0x%p\n", dev);
59 struct chip_operations mainboard_ops = {
60 .enable_dev = mainboard_enable,