summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21
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/apple/macbook21
parentf91ecce609ed8f90de5840e265cb3da3520ab591 (diff)
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/apple/macbook21')
-rw-r--r--src/mainboard/apple/macbook21/hda_verb.h55
1 files changed, 11 insertions, 44 deletions
diff --git a/src/mainboard/apple/macbook21/hda_verb.h b/src/mainboard/apple/macbook21/hda_verb.h
index 4e1687d3d1..07fa6bc81e 100644
--- a/src/mainboard/apple/macbook21/hda_verb.h
+++ b/src/mainboard/apple/macbook21/hda_verb.h
@@ -25,69 +25,36 @@ static const u32 mainboard_cim_verb_data[] = {
0x0000000B, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
- 0x00172000,
- 0x00172122,
- 0x0017226B,
- 0x00172310,
+ AZALIA_SUBVENDOR(0x0, 0x106B2200),
/* NID 0x0A. */
- 0x00A71C1F,
- 0x00A71DE2,
- 0x00A71E21,
- 0x00A71F03,
+ AZALIA_PIN_CFG(0x0, 0x0A, 0x0321E21F),
/* NID 0x0B. */
- 0x00B71C2E,
- 0x00B71DE0,
- 0x00B71EA1,
- 0x00B71F03,
+ AZALIA_PIN_CFG(0x0, 0x0B, 0x03A1E02E),
/* NID 0x0C. */
- 0x00C71C10,
- 0x00C71DE1,
- 0x00C71E17,
- 0x00C71F90,
+ AZALIA_PIN_CFG(0x0, 0x0C, 0x9017E110),
/* NID 0x0D. */
- 0x00D71C1F,
- 0x00D71DE1,
- 0x00D71E17,
- 0x00D71F90,
+ AZALIA_PIN_CFG(0x0, 0x0D, 0x9017E11F),
/* NID 0x0E. */
- 0x00E71CFE,
- 0x00E71D00,
- 0x00E71E00,
- 0x00E71F40,
+ AZALIA_PIN_CFG(0x0, 0x0E, 0x400000FE),
/* NID 0x0F */
- 0x00F71C20,
- 0x00F71DE0,
- 0x00F71E81,
- 0x00F71F03,
+ AZALIA_PIN_CFG(0x0, 0x0F, 0x0381E020),
/* NID 0x10 */
- 0x01071C30,
- 0x01071DE2,
- 0x01071E45,
- 0x01071F13,
+ AZALIA_PIN_CFG(0x0, 0x10, 0x1345E230),
/* NID 0x11 */
- 0x01171C40,
- 0x01171DE2,
- 0x01171EC5,
- 0x01171F13,
+ AZALIA_PIN_CFG(0x0, 0x11, 0x13C5E240),
/* NID 0x15 */
- 0x01571CFC,
- 0x01571D00,
- 0x01571E00,
- 0x01571F40,
+ AZALIA_PIN_CFG(0x0, 0x15, 0x400000FC),
/* NID 0x1B. */
- 0x01B71CFB,
- 0x01B71D00,
- 0x01B71E00,
- 0x01B71F40,
+ AZALIA_PIN_CFG(0x0, 0x1B, 0x400000FB),
};