Cleanup up HD audio codec / hda_verb.h files.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 15 Dec 2010 08:56:19 +0000 (08:56 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 15 Dec 2010 08:56:19 +0000 (08:56 +0000)
commit41dc1c0656a60484464834fb5b05290035af280a
treeb3139e9b5c83084f634a467cfc36ce8792e2fd95
parentca466b2fb35e78d2bd797d9f7db3b77061c0a057
Cleanup up HD audio codec / hda_verb.h files.

Most of the current hda_verb.h files are identical (same MD5 sum) and are
intended for a specific MCP55 board with the Realtek ALC880 audio codec,
which has the vendor/device ID of 0x10ec0880. They were splitted out from the
MCP55 southbridge code and put into board dirs a long time ago (which is
correct, as those settings are indeed board-specific), but they were never
adapted to those boards.

Here's the table of which codec is soldered onto which board, based on
checking the vendor website board spec pages, and the board manuals:

 - GIGABYTE GA-M57SLI-S4: Realtek ALC883
 - MSI MS-7260: Realtek ALC883
 - MSI MS-9652: Realtek ALC888
 - MSI MS-9282: Server board, doesn't have audio at all
 - Tyan S2912: Server board, doesn't have audio at all
 - All Supermicro boards: Server boards, don't have audio at all
 - NVIDIA l1_2pvv: No public info to be found, but I assume this was the
   original MCP55 eval board for the port and it's probably has the Realtek
   ALC880 codec used in the original hda_verb.h.

These are the codec vendor device/IDs involved:
Realtek ALC880: 0x10ec0880
Realtek ALC883: 0x10ec0883
Realtek ALC888: 0x10ec0888

The following files are marked as incorrect / TODO, as the ID of the codec
doesn't match and thus will never get actually used (you'll see
"HDA: no verb!" or similar in the coreboot logs). Even if the ID matched,
the rest of the table would be incorrect anyway because the values are
highly board-specific.

./src/mainboard/gigabyte/m57sli/hda_verb.h
./src/mainboard/msi/ms9652_fam10/hda_verb.h
./src/mainboard/msi/ms9282/hda_verb.h

The following files can be safely dropped as these are server boards and
don't have HD audio (or other audio) at all:

./src/mainboard/supermicro/h8dmr/hda_verb.h
./src/mainboard/supermicro/h8qme_fam10/hda_verb.h
./src/mainboard/supermicro/h8dme/hda_verb.h
./src/mainboard/supermicro/h8dmr_fam10/hda_verb.h
./src/mainboard/tyan/s2912/hda_verb.h
./src/mainboard/tyan/s2912_fam10/hda_verb.h

The following two are correct and can stay:

./src/mainboard/nvidia/l1_2pvv/hda_verb.h
./src/mainboard/getac/p470/hda_verb.h

Abuild-tested.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6180 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
17 files changed:
src/mainboard/gigabyte/m57sli/hda_verb.h
src/mainboard/msi/ms7260/hda_verb.h [deleted file]
src/mainboard/msi/ms7260/mainboard.c
src/mainboard/msi/ms9282/hda_verb.h
src/mainboard/msi/ms9652_fam10/hda_verb.h
src/mainboard/supermicro/h8dme/hda_verb.h [deleted file]
src/mainboard/supermicro/h8dme/mainboard.c
src/mainboard/supermicro/h8dmr/hda_verb.h [deleted file]
src/mainboard/supermicro/h8dmr/mainboard.c
src/mainboard/supermicro/h8dmr_fam10/hda_verb.h [deleted file]
src/mainboard/supermicro/h8dmr_fam10/mainboard.c
src/mainboard/supermicro/h8qme_fam10/hda_verb.h [deleted file]
src/mainboard/supermicro/h8qme_fam10/mainboard.c
src/mainboard/tyan/s2912/hda_verb.h [deleted file]
src/mainboard/tyan/s2912/mainboard.c
src/mainboard/tyan/s2912_fam10/hda_verb.h [deleted file]
src/mainboard/tyan/s2912_fam10/mainboard.c