From ec21170b876fc6af00141e409bba83d958dc3c6e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 19 Dec 2019 19:37:21 +0100 Subject: mb/**/hda_verb.{c,h}: use denary numerals for codec IDs Denary, also known as "decimal" or "base 10," is the standard number system used around the world. Therefore, make use of it. Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/google/jecht/hda_verb.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/mainboard/google/jecht') diff --git a/src/mainboard/google/jecht/hda_verb.c b/src/mainboard/google/jecht/hda_verb.c index 01ba78f34b..535e7e8600 100644 --- a/src/mainboard/google/jecht/hda_verb.c +++ b/src/mainboard/google/jecht/hda_verb.c @@ -27,51 +27,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x411111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x18, 0x03a71011), + AZALIA_PIN_CFG(0, 0x18, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ -- cgit v1.2.3