2 * This file is part of the coreboot project.
4 * Copyright (C) 2007 Advanced Micro Devices
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
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 <device/pci_ids.h>
24 #include <device/pci_ops.h>
26 #include <cpu/x86/msr.h>
27 #include <cpu/amd/lxdef.h>
28 #include "../../../southbridge/amd/cs5536/cs5536.h"
31 static void init_gpio()
34 printk_debug("Checking GPIO module...\n");
36 msr = rdmsr(MDD_LBAR_GPIO);
37 printk_debug("DIVIL_LBAR_GPIO set to 0x%08x 0x%08x\n", msr.hi, msr.lo);
40 static void init(struct device *dev)
42 // BOARD-SPECIFIC INIT
43 printk_debug("ARTECGROUP DBE61 ENTER %s\n", __func__);
47 printk_debug("ARTECGROUP DBE61 EXIT %s\n", __func__);
50 static void enable_dev(struct device *dev)
52 dev->ops->init = init;
55 struct chip_operations mainboard_artecgroup_dbe61_ops = {
56 CHIP_NAME("Artec Group dbe61 Mainboard")
57 .enable_dev = enable_dev,