summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
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
parentba8d8f2583e5b9830322fb4a96b04306d427f29a (diff)
downloadcoreboot-e4951055dd96be64d46c3d73a6dc4fa3a8260a5b.tar.xz
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')
-rw-r--r--src/mainboard/lenovo/l520/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/s230u/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/t410/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/t420/hda_verb.c2
-rw-r--r--src/mainboard/lenovo/t420s/hda_verb.c2
-rw-r--r--src/mainboard/lenovo/t430/hda_verb.c2
-rw-r--r--src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/t520/hda_verb.c2
-rw-r--r--src/mainboard/lenovo/t530/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/t60/hda_verb.c2
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/x201/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/x220/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/x230/hda_verb.c4
-rw-r--r--src/mainboard/lenovo/x60/hda_verb.c2
16 files changed, 26 insertions, 26 deletions
diff --git a/src/mainboard/lenovo/l520/hda_verb.c b/src/mainboard/lenovo/l520/hda_verb.c
index 30a4a61be2..bca06f5e56 100644
--- a/src/mainboard/lenovo/l520/hda_verb.c
+++ b/src/mainboard/lenovo/l520/hda_verb.c
@@ -21,7 +21,7 @@ const u32 cim_verb_data[] = {
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa21de, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x17aa21de),
@@ -57,7 +57,7 @@ const u32 cim_verb_data[] = {
0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x3, 0x80860101),
diff --git a/src/mainboard/lenovo/s230u/hda_verb.c b/src/mainboard/lenovo/s230u/hda_verb.c
index f2da2c4756..85150e51a5 100644
--- a/src/mainboard/lenovo/s230u/hda_verb.c
+++ b/src/mainboard/lenovo/s230u/hda_verb.c
@@ -22,7 +22,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x10ec0269, // Codec Vendor / Device ID: Realtek ALC269VC
0x17aa21fa, // Subsystem ID
- 0x0000000c, // Number of 4 dword sets
+ 12, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
@@ -106,7 +106,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x80862806, // 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),
diff --git a/src/mainboard/lenovo/t410/hda_verb.c b/src/mainboard/lenovo/t410/hda_verb.c
index 752e5da67b..2b871f6280 100644
--- a/src/mainboard/lenovo/t410/hda_verb.c
+++ b/src/mainboard/lenovo/t410/hda_verb.c
@@ -20,7 +20,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14F15069, /* Codec Vendor / Device ID: Conexant CX20585 */
0x17AA214C, /* Subsystem ID */
- 0x0000000B, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x0, 0x17AA214C),
AZALIA_PIN_CFG(0x0, 0x19, 0x042110F0),
@@ -36,7 +36,7 @@ const u32 cim_verb_data[] = {
0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17AA21B5, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x3, 0x17AA21B5),
AZALIA_PIN_CFG(0x3, 0x04, 0x18560010),
diff --git a/src/mainboard/lenovo/t420/hda_verb.c b/src/mainboard/lenovo/t420/hda_verb.c
index 18a61a2436..9287d4adbe 100644
--- a/src/mainboard/lenovo/t420/hda_verb.c
+++ b/src/mainboard/lenovo/t420/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14f1506e, // Codec Vendor / Device ID: Conexant CX20590 - Schematic show CX20672
0x17aa21ce, // Subsystem ID
- 0x0000000d, // Number of 4 dword sets
+ 13, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
diff --git a/src/mainboard/lenovo/t420s/hda_verb.c b/src/mainboard/lenovo/t420s/hda_verb.c
index cad2050755..8a9c3e5b77 100644
--- a/src/mainboard/lenovo/t420s/hda_verb.c
+++ b/src/mainboard/lenovo/t420s/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14f1506e, // Codec Vendor / Device ID: Conexant CX20590 - Schematic show CX20672
0x17aa21d2, // Subsystem ID
- 0x0000000d, // Number of 4 dword sets
+ 13, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
diff --git a/src/mainboard/lenovo/t430/hda_verb.c b/src/mainboard/lenovo/t430/hda_verb.c
index 02f433f3c1..255198f044 100644
--- a/src/mainboard/lenovo/t430/hda_verb.c
+++ b/src/mainboard/lenovo/t430/hda_verb.c
@@ -55,7 +55,7 @@ const u32 cim_verb_data[] = {
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x3, 0x80860101),
diff --git a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
index f73434d53e..c5c17b8061 100644
--- a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
+++ b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x10ec0269, // Codec Vendor / Device ID: Realtek ALC269VC
0x17aa21fb, // Subsystem ID
- 0x00000013, // Number of 4 dword sets
+ 19, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
@@ -105,7 +105,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x80862806, // 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),
diff --git a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
index 179fba0500..1c5d376247 100644
--- a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
+++ b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
@@ -21,7 +21,7 @@ const u32 cim_verb_data[] = {
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa2208, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x17aa2208),
@@ -57,7 +57,7 @@ const u32 cim_verb_data[] = {
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x3, 0x80860101),
diff --git a/src/mainboard/lenovo/t520/hda_verb.c b/src/mainboard/lenovo/t520/hda_verb.c
index dae692d4ab..2d10e35b19 100644
--- a/src/mainboard/lenovo/t520/hda_verb.c
+++ b/src/mainboard/lenovo/t520/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14f1506e, // Codec Vendor / Device ID: Conexant CX20590 - Schematic shows CX20672
0x17aa21cf, // Subsystem ID
- 0x0000000d, // Number of 4 dword sets
+ 13, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
diff --git a/src/mainboard/lenovo/t530/hda_verb.c b/src/mainboard/lenovo/t530/hda_verb.c
index 154b3146a0..f8876aa1c8 100644
--- a/src/mainboard/lenovo/t530/hda_verb.c
+++ b/src/mainboard/lenovo/t530/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x10ec0269, // Codec Vendor / Device ID: Realtek ALC269VC
0x17aa21fa, // Subsystem ID
- 0x00000012, // Number of 4 dword sets
+ 18, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
@@ -104,7 +104,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x80862806, // 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),
diff --git a/src/mainboard/lenovo/t60/hda_verb.c b/src/mainboard/lenovo/t60/hda_verb.c
index 35077766f8..216696b22b 100644
--- a/src/mainboard/lenovo/t60/hda_verb.c
+++ b/src/mainboard/lenovo/t60/hda_verb.c
@@ -16,7 +16,7 @@
const u32 cim_verb_data[] = {
0x11d41981, /* Codec Vendor / Device ID: Analog Devices AD1981 */
0x17aa2025, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x0, 0x17aa2025),
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
index 2a216d3981..1946286cff 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
+++ b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
@@ -20,7 +20,7 @@ const u32 cim_verb_data[] = {
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa21f9, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x17aa21f9),
@@ -56,7 +56,7 @@ const u32 cim_verb_data[] = {
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x3, 0x80860101),
diff --git a/src/mainboard/lenovo/x201/hda_verb.c b/src/mainboard/lenovo/x201/hda_verb.c
index 820e2c5f96..25a87f57f2 100644
--- a/src/mainboard/lenovo/x201/hda_verb.c
+++ b/src/mainboard/lenovo/x201/hda_verb.c
@@ -20,7 +20,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x14F15069, /* Codec Vendor / Device ID: Conexant CX20585 */
0x17AA2155, /* Subsystem ID */
- 0x0000000B, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x17AA2155),
@@ -57,7 +57,7 @@ const u32 cim_verb_data[] = {
0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17aa21b5, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21b5 */
AZALIA_SUBVENDOR(0x3, 0x17AA21B5),
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),
diff --git a/src/mainboard/lenovo/x230/hda_verb.c b/src/mainboard/lenovo/x230/hda_verb.c
index 792579aa32..0393ff50a6 100644
--- a/src/mainboard/lenovo/x230/hda_verb.c
+++ b/src/mainboard/lenovo/x230/hda_verb.c
@@ -27,7 +27,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x10ec0269, // Codec Vendor / Device ID: Realtek ALC269VC
0x17aa21fa, // Subsystem ID
- 0x00000013, // Number of 4 dword sets
+ 19, // Number of 4 dword sets
/* Bits 31:28 - Codec Address */
/* Bits 27:20 - NID */
@@ -112,7 +112,7 @@ const u32 cim_verb_data[] = {
/* coreboot specific header */
0x80862806, // 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),
diff --git a/src/mainboard/lenovo/x60/hda_verb.c b/src/mainboard/lenovo/x60/hda_verb.c
index 35077766f8..216696b22b 100644
--- a/src/mainboard/lenovo/x60/hda_verb.c
+++ b/src/mainboard/lenovo/x60/hda_verb.c
@@ -16,7 +16,7 @@
const u32 cim_verb_data[] = {
0x11d41981, /* Codec Vendor / Device ID: Analog Devices AD1981 */
0x17aa2025, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x0, 0x17aa2025),