aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/h8dme/mainboard.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-08-14 17:45:54 +0000
committerStefan Reinauer <stepan@openbios.org>2010-08-14 17:45:54 +0000
commitb24d07c3605742095d603f703c7adef39dc09aa6 (patch)
treea5f65bfb9e4e4d7676f23a9de1485a8df9a96608 /src/mainboard/supermicro/h8dme/mainboard.c
parent8ccbe0509189fe5f801c52745e04f0e8a2470aef (diff)
My old mcp55 azalia fix from May 2010. Was never checked in.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5695 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/supermicro/h8dme/mainboard.c')
-rw-r--r--src/mainboard/supermicro/h8dme/mainboard.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8dme/mainboard.c b/src/mainboard/supermicro/h8dme/mainboard.c
index 6b78f5b896..0a734c3048 100644
--- a/src/mainboard/supermicro/h8dme/mainboard.c
+++ b/src/mainboard/supermicro/h8dme/mainboard.c
@@ -1,10 +1,12 @@
/*
* This file is part of the coreboot project.
*
+ * Copyright (C) 2007-2009 Advanced Micro Devices
+ * Copyright (C) 2010 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
@@ -17,8 +19,22 @@
*/
#include <device/device.h>
+#include "hda_verb.h"
#include "chip.h"
+static void verb_setup(void)
+{
+ 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("Supermicro H8DME Mainboard")
+ .enable_dev = mainboard_enable,
};
+