X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmainboard%2Fgigabyte%2Fm57sli%2Fmainboard.c;h=b198fb67c5d00ab580bc0da99782816b30e2d7b9;hb=5ff7c13e858a31addf1558731a12cf6c753b576d;hp=3a688768e39cde2327ccdaf563f836566e68b75a;hpb=7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb;p=coreboot.git diff --git a/src/mainboard/gigabyte/m57sli/mainboard.c b/src/mainboard/gigabyte/m57sli/mainboard.c index 3a688768e..b198fb67c 100644 --- a/src/mainboard/gigabyte/m57sli/mainboard.c +++ b/src/mainboard/gigabyte/m57sli/mainboard.c @@ -3,11 +3,11 @@ * * Copyright (C) 2007 AMD * Written by Yinghai Lu for AMD. + * 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 @@ -24,10 +24,22 @@ #include #include #include +// #include "hda_verb.h" #include "chip.h" -#if CONFIG_CHIP_NAME == 1 +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("GIGABYTE GA-M57SLI Mainboard") + .enable_dev = mainboard_enable, }; -#endif