summaryrefslogtreecommitdiff
path: root/src/mainboard/nvidia/l1_2pvv
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-09-04 22:04:11 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-09-05 00:12:11 +0200
commit02d674ac2f9b238ea83ba31e3e4f32d25f9fedf6 (patch)
tree7f9bf5a7b2080be10aa115621432652c2d1f485c /src/mainboard/nvidia/l1_2pvv
parentf91ecce609ed8f90de5840e265cb3da3520ab591 (diff)
downloadcoreboot-02d674ac2f9b238ea83ba31e3e4f32d25f9fedf6.tar.xz
azalia: Use convenience macros throughout
Change-Id: Ic044bf155bfcf93fa7cf3afd7287b7d0b615ef6d Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6839 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/nvidia/l1_2pvv')
-rw-r--r--src/mainboard/nvidia/l1_2pvv/hda_verb.h65
1 files changed, 13 insertions, 52 deletions
diff --git a/src/mainboard/nvidia/l1_2pvv/hda_verb.h b/src/mainboard/nvidia/l1_2pvv/hda_verb.h
index 98e2a92eb9..ea3159e53d 100644
--- a/src/mainboard/nvidia/l1_2pvv/hda_verb.h
+++ b/src/mainboard/nvidia/l1_2pvv/hda_verb.h
@@ -26,80 +26,41 @@ static u32 mainboard_cim_verb_data[] = {
0x0000000d, // Number of jacks
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x0000e601 */
- 0x00172001,
- 0x001721e6,
- 0x00172200,
- 0x00172300,
+ AZALIA_SUBVENDOR(0x0, 0x0000e601),
/* NID 0x14, FRONT-OUT-L/R */
- 0x01471c10,
- 0x01471d44,
- 0x01471e01,
- 0x01471f01,
+ AZALIA_PIN_CFG(0x0, 0x14, 0x01014410),
/* NID 0x15, SURR-OUT-L/R */
- 0x01571c12,
- 0x01571d14,
- 0x01571e01,
- 0x01571f01,
+ AZALIA_PIN_CFG(0x0, 0x15, 0x01011412),
/* NID 0x16, CEN/LFE-OUT */
- 0x01671c11,
- 0x01671d60,
- 0x01671e01,
- 0x01671f01,
+ AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
/* NID 0x17, SIDE-SURR-L/R */
- 0x01771c14,
- 0x01771d20,
- 0x01771e01,
- 0x01771f01,
+ AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),
/* NID 0x18, MIC1-L/R, VREFO */
- 0x01871c30,
- 0x01871d9c,
- 0x01871ea1,
- 0x01871f01,
+ AZALIA_PIN_CFG(0x0, 0x18, 0x01a19c30),
/* NID 0x19, MIC2-L/R, VREFO */
- 0x01971c40,
- 0x01971d9c,
- 0x01971ea1,
- 0x01971f02,
+ AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c40),
/* NID 0x1a, LINE1-L/R, VREFO */
- 0x01a71c31,
- 0x01a71d34,
- 0x01a71e81,
- 0x01a71f01,
+ AZALIA_PIN_CFG(0x0, 0x1a, 0x01813431),
/* NID 0x1b, LINE2-L/R, VREFO */
- 0x01b71c1f,
- 0x01b71d44,
- 0x01b71e21,
- 0x01b71f02,
+ AZALIA_PIN_CFG(0x0, 0x1b, 0x0221441f),
/* NID 0x1c, CD-L/R / GND */
- 0x01c71cf0,
- 0x01c71d11,
- 0x01c71e11,
- 0x01c71f41,
+ AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
/* NID 0x1d, PCBEEP */
- 0x01d71c3e,
- 0x01d71d01,
- 0x01d71e83,
- 0x01d71f99,
+ AZALIA_PIN_CFG(0x0, 0x1d, 0x9983013e),
/* NID 0x1e, S/PDIF-OUT */
- 0x01e71c20,
- 0x01e71d41,
- 0x01e71e45,
- 0x01e71f01,
+ AZALIA_PIN_CFG(0x0, 0x1e, 0x01454120),
/* NID 0x1f, S/PDIF-IN */
- 0x01f71c50,
- 0x01f71d91,
- 0x01f71ec5,
- 0x01f71f01,
+ AZALIA_PIN_CFG(0x0, 0x1f, 0x01c59150),
};