diff options
author | Angel Pons <th3fanbus@gmail.com> | 2019-12-05 23:12:18 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-12-11 11:39:51 +0000 |
commit | e4951055dd96be64d46c3d73a6dc4fa3a8260a5b (patch) | |
tree | 35047b7df67015c0b6308d175ce8ea7812581031 /src | |
parent | ba8d8f2583e5b9830322fb4a96b04306d427f29a (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')
39 files changed, 69 insertions, 69 deletions
diff --git a/src/mainboard/apple/macbook21/hda_verb.c b/src/mainboard/apple/macbook21/hda_verb.c index 09d5f1ab98..3d87d3d882 100644 --- a/src/mainboard/apple/macbook21/hda_verb.c +++ b/src/mainboard/apple/macbook21/hda_verb.c @@ -22,7 +22,7 @@ const u32 cim_verb_data[] = { #if CONFIG(BOARD_APPLE_MACBOOK11) || \ CONFIG(BOARD_APPLE_MACBOOK21) 0x106b2200, /* Subsystem ID */ - 0x0000000B, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x106B2200), @@ -58,7 +58,7 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0x0, 0x1B, 0x400000FB), #else /* CONFIG_BOARD_APPLE_IMAC52 */ 0x106b0f00, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x106b0f00), diff --git a/src/mainboard/apple/macbookair4_2/hda_verb.c b/src/mainboard/apple/macbookair4_2/hda_verb.c index 6ca5f512df..69a165ca19 100644 --- a/src/mainboard/apple/macbookair4_2/hda_verb.c +++ b/src/mainboard/apple/macbookair4_2/hda_verb.c @@ -17,7 +17,7 @@ const u32 cim_verb_data[] = { 0x10134206, /* Codec Vendor / Device ID: Cirrus */ 0x106b5b00, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x106b5b00), @@ -53,7 +53,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/asrock/b75pro3-m/hda_verb.c b/src/mainboard/asrock/b75pro3-m/hda_verb.c index cae9137088..d7e41b773a 100644 --- a/src/mainboard/asrock/b75pro3-m/hda_verb.c +++ b/src/mainboard/asrock/b75pro3-m/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x10ec0892, /* Codec Vendor / Device ID: Realtek */ 0x18498892, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x18498892), @@ -69,7 +69,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/asrock/h110m/hda_verb.c b/src/mainboard/asrock/h110m/hda_verb.c index 2fb0fe7e7d..6e13784c27 100644 --- a/src/mainboard/asrock/h110m/hda_verb.c +++ b/src/mainboard/asrock/h110m/hda_verb.c @@ -41,7 +41,7 @@ const u32 cim_verb_data[] = { /* coreboot specific header */ 0x80862809, /* Codec Vendor / Device ID: Intel Skylake HDMI */ 0x80860101, - 0x00000004, + 4, /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ AZALIA_SUBVENDOR(0x2, 0x80860101), diff --git a/src/mainboard/asus/p8h61-m_pro/hda_verb.c b/src/mainboard/asus/p8h61-m_pro/hda_verb.c index 13b25ed438..05a2b39bca 100644 --- a/src/mainboard/asus/p8h61-m_pro/hda_verb.c +++ b/src/mainboard/asus/p8h61-m_pro/hda_verb.c @@ -19,7 +19,7 @@ const u32 cim_verb_data[] = { 0x10ec0887, /* Codec Vendor / Device ID: Realtek */ 0x10438444, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x10438444), @@ -67,7 +67,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/asus/p8z77-m_pro/hda_verb.c b/src/mainboard/asus/p8z77-m_pro/hda_verb.c index 4fd3fcc5e3..1f22a7c68f 100644 --- a/src/mainboard/asus/p8z77-m_pro/hda_verb.c +++ b/src/mainboard/asus/p8z77-m_pro/hda_verb.c @@ -22,7 +22,7 @@ const u32 cim_verb_data[] = { 0x10ec0892, /* Codec Vendor / Device ID: Realtek */ 0x10438436, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* Subsystem ID */ AZALIA_SUBVENDOR(0x0, 0x10438436), @@ -43,7 +43,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 */ /* Subsystem ID */ AZALIA_SUBVENDOR(0x3, 0x80860101), diff --git a/src/mainboard/compulab/intense_pc/hda_verb.c b/src/mainboard/compulab/intense_pc/hda_verb.c index 5cade62e6f..c71d83b12e 100644 --- a/src/mainboard/compulab/intense_pc/hda_verb.c +++ b/src/mainboard/compulab/intense_pc/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x10ec0888, /* Codec Vendor / Device ID: Realtek */ 0x10ec0888, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x10ec0888), @@ -69,7 +69,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/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c index 93c7e11618..a0e0614637 100644 --- a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c @@ -19,7 +19,7 @@ const u32 cim_verb_data[] = { 0x10ec0887, /* Realtek ALC887 */ 0x1458a002, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ AZALIA_SUBVENDOR(0x2, 0x1458a002), AZALIA_PIN_CFG(0x2, 0x11, 0x411111f0), AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0), diff --git a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c index e160538d9f..8860993e27 100644 --- a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c @@ -19,7 +19,7 @@ const u32 cim_verb_data[] = { 0x10ec0887, /* Realtek ALC887 */ 0x1458a002, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ AZALIA_SUBVENDOR(0x2, 0x1458a002), AZALIA_PIN_CFG(0x2, 0x11, 0x411110f0), AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0), diff --git a/src/mainboard/google/butterfly/hda_verb.c b/src/mainboard/google/butterfly/hda_verb.c index caf8b4afe8..fc34e5672d 100644 --- a/src/mainboard/google/butterfly/hda_verb.c +++ b/src/mainboard/google/butterfly/hda_verb.c @@ -26,7 +26,7 @@ const u32 cim_verb_data[] = { /* coreboot specific header */ 0x111D76E5, // Codec Vendor / Device ID: IDT 92HD99 0x103C18F9, // Subsystem ID - 0x00000073, // Number of 4 dword sets + 115, // Number of 4 dword sets /* Bits 31:28 - Codec Address */ /* Bits 27:20 - NID */ @@ -206,7 +206,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/hp/2570p/hda_verb.c b/src/mainboard/hp/2570p/hda_verb.c index 3c4c734c4c..a8e0729ca8 100644 --- a/src/mainboard/hp/2570p/hda_verb.c +++ b/src/mainboard/hp/2570p/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c17df, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c17df), @@ -57,13 +57,13 @@ const u32 cim_verb_data[] = { 0x11c11040, /* Codec Vendor / Device ID: LSI */ 0x103c3066, /* Subsystem ID */ - 0x00000001, /* Number of 4 dword sets */ + 1, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x1, 0x103c3066), 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/hp/2760p/hda_verb.c b/src/mainboard/hp/2760p/hda_verb.c index 6a62cf1b8b..48b730a441 100644 --- a/src/mainboard/hp/2760p/hda_verb.c +++ b/src/mainboard/hp/2760p/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c162a, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c162a), @@ -57,13 +57,13 @@ const u32 cim_verb_data[] = { 0x11c11040, /* Codec Vendor / Device ID: LSI */ 0x103c3066, /* Subsystem ID */ - 0x00000001, /* Number of 4 dword sets */ + 1, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x1, 0x103c3066), 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/hp/8460p/hda_verb.c b/src/mainboard/hp/8460p/hda_verb.c index 8436707410..964301334a 100644 --- a/src/mainboard/hp/8460p/hda_verb.c +++ b/src/mainboard/hp/8460p/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c3588, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c3588), @@ -57,7 +57,7 @@ const u32 cim_verb_data[] = { 0x11c11040, /* Codec Vendor / Device ID: LSI */ 0x103c3066, /* Subsystem ID */ - 0x00000001, /* Number of 4 dword sets */ + 1, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x1, 0x103c3066), }; diff --git a/src/mainboard/hp/8470p/hda_verb.c b/src/mainboard/hp/8470p/hda_verb.c index 0d7389a39e..a24aeb2dc8 100644 --- a/src/mainboard/hp/8470p/hda_verb.c +++ b/src/mainboard/hp/8470p/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c17c2, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c17c2), @@ -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/hp/8770w/hda_verb.c b/src/mainboard/hp/8770w/hda_verb.c index 51869cb54d..cc66a316ce 100644 --- a/src/mainboard/hp/8770w/hda_verb.c +++ b/src/mainboard/hp/8770w/hda_verb.c @@ -22,7 +22,7 @@ const u32 cim_verb_data[] = { 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c176c, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c176c), diff --git a/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c b/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c index 4b90aab935..907ad2f61c 100644 --- a/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c +++ b/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x10ec0662, /* Codec Vendor / Device ID: Realtek */ 0x103c1495, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c1495), @@ -57,7 +57,7 @@ const u32 cim_verb_data[] = { 0x80862805, /* Codec Vendor / Device ID: Intel */ 0x80861495, /* Subsystem ID */ - 0x00000004, /* Number of 4 dword sets */ + 4, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x3, 0x80861495), diff --git a/src/mainboard/hp/folio_9470m/hda_verb.c b/src/mainboard/hp/folio_9470m/hda_verb.c index 3abd5bed3e..14d181ff89 100644 --- a/src/mainboard/hp/folio_9470m/hda_verb.c +++ b/src/mainboard/hp/folio_9470m/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d76e0, /* Codec Vendor / Device ID: IDT */ 0x103c18df, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c18df), @@ -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/hp/revolve_810_g1/hda_verb.c b/src/mainboard/hp/revolve_810_g1/hda_verb.c index c7d5662b5a..693ee40a46 100644 --- a/src/mainboard/hp/revolve_810_g1/hda_verb.c +++ b/src/mainboard/hp/revolve_810_g1/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x111d76e0, /* Codec Vendor / Device ID: IDT */ 0x103c18f8, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c18f8), @@ -57,13 +57,13 @@ const u32 cim_verb_data[] = { 0x11c11040, /* Codec Vendor / Device ID: LSI */ 0x103c3066, /* Subsystem ID */ - 0x00000001, /* Number of 4 dword sets */ + 1, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x1, 0x103c3066), 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/hp/z220_sff_workstation/hda_verb.c b/src/mainboard/hp/z220_sff_workstation/hda_verb.c index 91804c187b..9ded3ec136 100644 --- a/src/mainboard/hp/z220_sff_workstation/hda_verb.c +++ b/src/mainboard/hp/z220_sff_workstation/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x10ec0221, /* Codec Vendor / Device ID: Realtek */ 0x103c1791, /* Subsystem ID */ - 0x0000000b, /* Number of 4 dword sets */ + 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x103c1791), @@ -57,7 +57,7 @@ const u32 cim_verb_data[] = { 0x80862806, /* Codec Vendor / Device ID: Intel */ 0x103c1791, /* Subsystem ID */ - 0x00000004, /* Number of 4 dword sets */ + 4, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x3, 0x103c1791), diff --git a/src/mainboard/intel/dcp847ske/hda_verb.c b/src/mainboard/intel/dcp847ske/hda_verb.c index b00034750c..3b7190d9e3 100644 --- a/src/mainboard/intel/dcp847ske/hda_verb.c +++ b/src/mainboard/intel/dcp847ske/hda_verb.c @@ -21,7 +21,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/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), diff --git a/src/mainboard/msi/ms7707/hda_verb.c b/src/mainboard/msi/ms7707/hda_verb.c index 6a6cf41553..7ff2bee168 100644 --- a/src/mainboard/msi/ms7707/hda_verb.c +++ b/src/mainboard/msi/ms7707/hda_verb.c @@ -21,7 +21,7 @@ const u32 cim_verb_data[] = { 0x10ec0887, /* Codec Vendor / Device ID: Realtek */ 0x14627707, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x14627707), diff --git a/src/mainboard/packardbell/ms2290/hda_verb.c b/src/mainboard/packardbell/ms2290/hda_verb.c index 1932ff9963..d458cd6eed 100644 --- a/src/mainboard/packardbell/ms2290/hda_verb.c +++ b/src/mainboard/packardbell/ms2290/hda_verb.c @@ -20,7 +20,7 @@ const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0272, /* Codec Vendor / Device ID: Realtek ALC272X */ 0x10250379, /* Subsystem ID */ - 0x00000006, /* Number of 4 dword sets */ + 6, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x10250379), @@ -42,7 +42,7 @@ const u32 cim_verb_data[] = { 0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */ 0x80860101, /* 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, 0x80860101), diff --git a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c index cf723d0867..9be242e501 100644 --- a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c +++ b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c @@ -20,7 +20,7 @@ const u32 cim_verb_data[] = { 0x10ec0892, /* Codec Vendor / Device ID: Realtek */ 0x10ec0000, /* Subsystem ID */ - 0x0000000f, /* Number of 4 dword sets */ + 15, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x2, 0x10ec0000), @@ -68,7 +68,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), |