remove trailing whitespace
[coreboot.git] / src / mainboard / msi / ms9282 / mainboard.c
index 7294894a884b040051b32cfe225b1225862cca3b..99f7e224d1676c896e1056d6b1189178132911a1 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * This file is part of the LinuxBIOS project.
+ * This file is part of the coreboot project.
  *
  * Copyright (C) 2006 MSI
  * Written by Bingxun Shi <bingxunshi@gmail.com> for MSI.
+ * Copyright (C) 2007-2009 coresystems GmbH
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; version 2 of the License.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 #include <device/pci.h>
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
+// #include "hda_verb.h"
 #include "chip.h"
 
-#if CONFIG_CHIP_NAME == 1
-struct chip_operations mainboard_msi_ms9282_ops = {
-       CHIP_NAME("MSI ms9282 mainboard")
+static void verb_setup(void)
+{
+       /* TODO: Add a correct hda_verb.h file for this board. */
+       // cim_verb_data = mainboard_cim_verb_data;
+       // cim_verb_data_size = sizeof(mainboard_cim_verb_data);
+}
+
+static void mainboard_enable(device_t dev)
+{
+       verb_setup();
+}
+
+struct chip_operations mainboard_ops = {
+       CHIP_NAME("MSI MS-9282 Mainboard")
+       .enable_dev = mainboard_enable,
 };
-#endif