summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-05 23:12:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-11 11:39:51 +0000
commite4951055dd96be64d46c3d73a6dc4fa3a8260a5b (patch)
tree35047b7df67015c0b6308d175ce8ea7812581031 /src/mainboard/lenovo/x220
parentba8d8f2583e5b9830322fb4a96b04306d427f29a (diff)
mb/**/hda_verb.c: use denary numerals for lengths
Denary, also known as "decimal" or "base 10," is the standard number system used around the world. Therefore, make use of it. Change-Id: Ia22705d7629a322292cfd557add9cfadc649c16c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37537 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x220')
-rw-r--r--src/mainboard/lenovo/x220/hda_verb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x220/hda_verb.c b/src/mainboard/lenovo/x220/hda_verb.c
index d94c320b9c..b7b670d77a 100644
--- a/src/mainboard/lenovo/x220/hda_verb.c
+++ b/src/mainboard/lenovo/x220/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14f1506e, // Codec Vendor / Device ID: Conexant CX20590
0x17aa21db, // Subsystem ID
- 0x0000000d, // Number of 4 dword sets
+ 13, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
@@ -71,7 +71,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x80862805, // Codec Vendor / Device ID: Intel PantherPoint HDMI
0x80860101, // Subsystem ID
- 0x00000004, // Number of IDs
+ 4, // Number of IDs
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
AZALIA_SUBVENDOR(0x3, 0x80860101),