blob: 5d80b8aad89e07d95af5447197ca08393752f963 [file] [log] [blame]
Bingxun Shifb1fddb2007-02-09 00:26:10 +00001/*
Stefan Reinauer7e61e452008-01-18 10:35:56 +00002 * This file is part of the coreboot project.
Bingxun Shifb1fddb2007-02-09 00:26:10 +00003 *
4 * Copyright (C) 2006 MSI
5 * Written by Bingxun Shi <bingxunshi@gmail.com> for MSI.
Stefan Reinauerb24d07c2010-08-14 17:45:54 +00006 * Copyright (C) 2007-2009 coresystems GmbH
Bingxun Shifb1fddb2007-02-09 00:26:10 +00007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
Stefan Reinauerb24d07c2010-08-14 17:45:54 +000010 * the Free Software Foundation; version 2 of the License.
Bingxun Shifb1fddb2007-02-09 00:26:10 +000011 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
Paul Menzela46a7122013-02-23 18:37:27 +010019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Bingxun Shifb1fddb2007-02-09 00:26:10 +000020 */
21
22#include <console/console.h>
23#include <device/device.h>
24#include <device/pci.h>
25#include <device/pci_ids.h>
26#include <device/pci_ops.h>
Uwe Hermann397ff682010-12-17 18:04:26 +000027// #include "hda_verb.h"
Bingxun Shifb1fddb2007-02-09 00:26:10 +000028
Stefan Reinauerb24d07c2010-08-14 17:45:54 +000029static void verb_setup(void)
30{
Uwe Hermann397ff682010-12-17 18:04:26 +000031 /* TODO: Add a correct hda_verb.h file for this board. */
32 // cim_verb_data = mainboard_cim_verb_data;
33 // cim_verb_data_size = sizeof(mainboard_cim_verb_data);
Stefan Reinauerb24d07c2010-08-14 17:45:54 +000034}
35
Stefan Reinauer5ff7c132011-10-31 12:56:45 -070036static void mainboard_enable(device_t dev)
Stefan Reinauerb24d07c2010-08-14 17:45:54 +000037{
38 verb_setup();
39}
40
Carl-Daniel Hailfinger7ad11e82009-02-18 20:41:57 +000041struct chip_operations mainboard_ops = {
Stefan Reinauerb24d07c2010-08-14 17:45:54 +000042 .enable_dev = mainboard_enable,
Bingxun Shifb1fddb2007-02-09 00:26:10 +000043};