aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/facebook
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-19 19:37:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-01-02 14:26:10 +0000
commitec21170b876fc6af00141e409bba83d958dc3c6e (patch)
treec9d7ed33d76cd210a7b77f803c2d67f60501050f /src/mainboard/facebook
parent73c92dac0d400b5311546d9520c015169f819845 (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard/facebook')
-rw-r--r--src/mainboard/facebook/fbg1701/hda_verb.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mainboard/facebook/fbg1701/hda_verb.c b/src/mainboard/facebook/fbg1701/hda_verb.c
index 5cf820ded9..c06bbb3485 100644
--- a/src/mainboard/facebook/fbg1701/hda_verb.c
+++ b/src/mainboard/facebook/fbg1701/hda_verb.c
@@ -22,7 +22,7 @@ const u32 cim_verb_data[] = {
0x0000000C, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x152D1165),
+ AZALIA_SUBVENDOR(0, 0x152D1165),
/* Pin Widget Verb Table */
@@ -33,37 +33,37 @@ const u32 cim_verb_data[] = {
0x0017FF00,
/* Pin Complex (NID 0x12) DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90A60130),
+ AZALIA_PIN_CFG(0, 0x12, 0x90A60130),
/* Pin Complex (NID 0x13) DMIC */
- AZALIA_PIN_CFG(0x0, 0x13, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x13, 0x411111F0),
/* Pin Complex (NID 0x14) SPEAKER-OUT (Port-D) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90180110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90180110),
/* Pin Complex (NID 0x17) I2S-OUT */
- AZALIA_PIN_CFG(0x0, 0x17, 0x01011120),
+ AZALIA_PIN_CFG(0, 0x17, 0x01011120),
/* Pin Complex (NID 0x18) MIC1 (Port-B) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111F0),
/* Pin Complex (NID 0x19) I2S-IN */
- AZALIA_PIN_CFG(0x0, 0x19, 0x90870140),
+ AZALIA_PIN_CFG(0, 0x19, 0x90870140),
/* Pin Complex (NID 0x1A) LINE1 (Port-C) */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111F0),
/* Pin Complex (NID 0x1D) PC-BEEP */
- AZALIA_PIN_CFG(0x0, 0x1D, 0x40400001),
+ AZALIA_PIN_CFG(0, 0x1D, 0x40400001),
/* Pin Complex (NID 0x1E) SPDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111F0),
/* Pin Complex (NID 0x1F) SPDIF-IN */
- AZALIA_PIN_CFG(0x0, 0x1F, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1F, 0x411111F0),
/* Pin Complex (NID 0x21) HP-OUT (Port-A) */
- AZALIA_PIN_CFG(0x0, 0x21, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x21, 0x411111F0),
/* POST I2S bypass output SRC */
0x0205002D,