summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2024-06-06 18:07:54 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-06-07 11:13:19 +0000
commitca9f94854176808651d075b968aa7551cf4d2ae6 (patch)
treec8352dbe2f1adaa340029f329c87920721be4be7 /src/mainboard/asrock
parent14feda4412d0365471b46f5c2d087e02e5182d77 (diff)
mb/**/hda_verb: Use `AZALIA_PIN_CFG_NC(0)`
Replace `0x411111f0` with `AZALIA_PIN_CFG_NC(0)`, which evaluates to the same value and conveys additional information to the reader. Done with a bulk search and replace operation. Change-Id: Ibd84daec017bc1ab1ee4edd906fda80231c134cc Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82394 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/b75m-itx/hda_verb.c10
-rw-r--r--src/mainboard/asrock/b75pro3-m/hda_verb.c10
-rw-r--r--src/mainboard/asrock/b85m_pro4/hda_verb.c20
-rw-r--r--src/mainboard/asrock/g41c-gs/hda_verb.c14
-rw-r--r--src/mainboard/asrock/h110m/hda_verb.c12
-rw-r--r--src/mainboard/asrock/h77pro4-m/hda_verb.c10
-rw-r--r--src/mainboard/asrock/h81m-hds/hda_verb.c6
-rw-r--r--src/mainboard/asrock/z87e-itx/hda_verb.c2
-rw-r--r--src/mainboard/asrock/z97_extreme6/hda_verb.c2
9 files changed, 43 insertions, 43 deletions
diff --git a/src/mainboard/asrock/b75m-itx/hda_verb.c b/src/mainboard/asrock/b75m-itx/hda_verb.c
index f770512a1b..37f763ed65 100644
--- a/src/mainboard/asrock/b75m-itx/hda_verb.c
+++ b/src/mainboard/asrock/b75m-itx/hda_verb.c
@@ -7,20 +7,20 @@ const u32 cim_verb_data[] = {
0x18498892, /* Subsystem ID */
15, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0, 0x18498892),
- AZALIA_PIN_CFG(0, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x11, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
AZALIA_PIN_CFG(0, 0x15, 0x01011012),
AZALIA_PIN_CFG(0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
AZALIA_PIN_CFG(0, 0x19, 0x02a19850),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
AZALIA_PIN_CFG(0, 0x1b, 0x02214020),
- AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
AZALIA_PIN_CFG(0, 0x1e, 0x01452130),
- AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, AZALIA_PIN_CFG_NC(0)),
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
diff --git a/src/mainboard/asrock/b75pro3-m/hda_verb.c b/src/mainboard/asrock/b75pro3-m/hda_verb.c
index 0cd7ad47ea..a3d894d6a1 100644
--- a/src/mainboard/asrock/b75pro3-m/hda_verb.c
+++ b/src/mainboard/asrock/b75pro3-m/hda_verb.c
@@ -7,20 +7,20 @@ const u32 cim_verb_data[] = {
0x18498892, /* Subsystem ID */
15, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0, 0x18498892),
- AZALIA_PIN_CFG(0, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x11, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
AZALIA_PIN_CFG(0, 0x15, 0x01011012),
AZALIA_PIN_CFG(0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
AZALIA_PIN_CFG(0, 0x19, 0x02a19950),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
AZALIA_PIN_CFG(0, 0x1b, 0x02214120),
- AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
AZALIA_PIN_CFG(0, 0x1e, 0x01452130),
- AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, AZALIA_PIN_CFG_NC(0)),
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
diff --git a/src/mainboard/asrock/b85m_pro4/hda_verb.c b/src/mainboard/asrock/b85m_pro4/hda_verb.c
index dc3c140857..8b908c516c 100644
--- a/src/mainboard/asrock/b85m_pro4/hda_verb.c
+++ b/src/mainboard/asrock/b85m_pro4/hda_verb.c
@@ -7,15 +7,15 @@ const u32 cim_verb_data[] = {
0x1849c892, /* Subsystem ID */
11, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0, 0x1849c892),
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x14, 0x01014020),
AZALIA_PIN_CFG(0, 0x17, 0x90170110),
- AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x1a, 0x02a11c3f),
AZALIA_PIN_CFG(0, 0x1b, 0x01813c30),
AZALIA_PIN_CFG(0, 0x1d, 0x598301f0),
- AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x21, 0x0221102f),
0x10ec0887, /* Codec Vendor / Device ID: Realtek ALC887 */
@@ -23,18 +23,18 @@ const u32 cim_verb_data[] = {
15, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(2, 0x1458a002),
AZALIA_PIN_CFG(2, 0x11, 0x411110f0),
- AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x14, 0x01014410),
- AZALIA_PIN_CFG(2, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(2, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(2, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x15, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(2, 0x16, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(2, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x18, 0x01a19c50),
AZALIA_PIN_CFG(2, 0x19, 0x02a19c60),
AZALIA_PIN_CFG(2, 0x1a, 0x0181345f),
AZALIA_PIN_CFG(2, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(2, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x1f, 0x41c46060),
0x80862806, /* Codec Vendor / Device ID: Intel Haswell HDMI */
diff --git a/src/mainboard/asrock/g41c-gs/hda_verb.c b/src/mainboard/asrock/g41c-gs/hda_verb.c
index 5fce4333c8..134c34092f 100644
--- a/src/mainboard/asrock/g41c-gs/hda_verb.c
+++ b/src/mainboard/asrock/g41c-gs/hda_verb.c
@@ -12,15 +12,15 @@ const u32 cim_verb_data[] = {
/* Pin Widget Verb Table */
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x15, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x16, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19830),
AZALIA_PIN_CFG(0, 0x19, 0x02a19940),
AZALIA_PIN_CFG(0, 0x1a, 0x0181303f),
AZALIA_PIN_CFG(0, 0x1b, 0x02214120),
AZALIA_PIN_CFG(0, 0x1c, 0x593301f0),
AZALIA_PIN_CFG(0, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)),
/* coreboot specific header */
/* Intel Eaglelake HDMI */
@@ -40,15 +40,15 @@ const u32 cim_verb_data[] = {
/* Pin Widget Verb Table */
AZALIA_PIN_CFG(2, 0x14, 0x01014410),
- AZALIA_PIN_CFG(2, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(2, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x15, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(2, 0x16, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x18, 0x01a19c30),
AZALIA_PIN_CFG(2, 0x19, 0x02a19c40),
AZALIA_PIN_CFG(2, 0x1a, 0x0181343f),
AZALIA_PIN_CFG(2, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(2, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(2, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)),
};
const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asrock/h110m/hda_verb.c b/src/mainboard/asrock/h110m/hda_verb.c
index 82cf54523b..a19634e6f4 100644
--- a/src/mainboard/asrock/h110m/hda_verb.c
+++ b/src/mainboard/asrock/h110m/hda_verb.c
@@ -8,19 +8,19 @@ const u32 cim_verb_data[] = {
15, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0, 0x10438445),
AZALIA_PIN_CFG(0, 0x11, 0x40000000),
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x14, 0x01014020),
AZALIA_PIN_CFG(0, 0x15, 0x90170110),
- AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19040),
AZALIA_PIN_CFG(0, 0x19, 0x02a19050),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
AZALIA_PIN_CFG(0, 0x1b, 0x02214030),
- AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x1d, 0x4026c629),
- AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x1f, AZALIA_PIN_CFG_NC(0)),
0x80862809, /* Codec Vendor / Device ID: Intel Skylake HDMI */
0x80860101, /* Subsystem ID */
diff --git a/src/mainboard/asrock/h77pro4-m/hda_verb.c b/src/mainboard/asrock/h77pro4-m/hda_verb.c
index 51133e7c7c..7fbb3310a8 100644
--- a/src/mainboard/asrock/h77pro4-m/hda_verb.c
+++ b/src/mainboard/asrock/h77pro4-m/hda_verb.c
@@ -7,20 +7,20 @@ const u32 cim_verb_data[] = {
0x18498892, /* Subsystem ID */
15, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0, 0x18498892),
- AZALIA_PIN_CFG(0, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x11, AZALIA_PIN_CFG_NC(0)),
+ AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
AZALIA_PIN_CFG(0, 0x15, 0x01011012),
AZALIA_PIN_CFG(0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
AZALIA_PIN_CFG(0, 0x19, 0x02a19950),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
AZALIA_PIN_CFG(0, 0x1b, 0x02214120),
- AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
AZALIA_PIN_CFG(0, 0x1e, 0x01452130),
- AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, AZALIA_PIN_CFG_NC(0)),
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
diff --git a/src/mainboard/asrock/h81m-hds/hda_verb.c b/src/mainboard/asrock/h81m-hds/hda_verb.c
index 5b372bf350..eea210d1d0 100644
--- a/src/mainboard/asrock/h81m-hds/hda_verb.c
+++ b/src/mainboard/asrock/h81m-hds/hda_verb.c
@@ -10,14 +10,14 @@ const u32 cim_verb_data[] = {
AZALIA_SUBVENDOR(1, 0x18497662),
AZALIA_PIN_CFG(1, 0x14, 0x01014010),
AZALIA_PIN_CFG(1, 0x15, 0x40000000),
- AZALIA_PIN_CFG(1, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(1, 0x16, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(1, 0x18, 0x01a19040),
AZALIA_PIN_CFG(1, 0x19, 0x02a19050),
AZALIA_PIN_CFG(1, 0x1a, 0x0181304f),
AZALIA_PIN_CFG(1, 0x1b, 0x02214020),
- AZALIA_PIN_CFG(1, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(1, 0x1c, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(1, 0x1d, 0x40a4c601),
- AZALIA_PIN_CFG(1, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(1, 0x1e, AZALIA_PIN_CFG_NC(0)),
};
const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/asrock/z87e-itx/hda_verb.c b/src/mainboard/asrock/z87e-itx/hda_verb.c
index 8330dcdede..7164c57149 100644
--- a/src/mainboard/asrock/z87e-itx/hda_verb.c
+++ b/src/mainboard/asrock/z87e-itx/hda_verb.c
@@ -11,7 +11,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
AZALIA_PIN_CFG(0, 0x15, 0x01011012),
AZALIA_PIN_CFG(0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19040),
AZALIA_PIN_CFG(0, 0x19, 0x02a19050),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
diff --git a/src/mainboard/asrock/z97_extreme6/hda_verb.c b/src/mainboard/asrock/z97_extreme6/hda_verb.c
index 7f716965f4..db4364c4e3 100644
--- a/src/mainboard/asrock/z97_extreme6/hda_verb.c
+++ b/src/mainboard/asrock/z97_extreme6/hda_verb.c
@@ -11,7 +11,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0, 0x14, 0x01014010),
AZALIA_PIN_CFG(0, 0x15, 0x01011012),
AZALIA_PIN_CFG(0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)),
AZALIA_PIN_CFG(0, 0x18, 0x01a19040),
AZALIA_PIN_CFG(0, 0x19, 0x02a19050),
AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),