From ca9f94854176808651d075b968aa7551cf4d2ae6 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 6 Jun 2024 18:07:54 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/82394 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Singer --- .../ga-h61m-series/variants/ga-h61m-ds2/hda_verb.c | 14 +++++++------- .../ga-h61m-series/variants/ga-h61m-ds2v/hda_verb.c | 16 ++++++++-------- .../ga-h61m-series/variants/ga-h61m-s2pv/hda_verb.c | 16 ++++++++-------- .../ga-h61m-series/variants/ga-h61ma-d3v/hda_verb.c | 12 ++++++------ 4 files changed, 29 insertions(+), 29 deletions(-) (limited to 'src/mainboard/gigabyte/ga-h61m-series') diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/hda_verb.c index 659d1b693b..86bc679e37 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/hda_verb.c @@ -8,19 +8,19 @@ 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, 0x01a19c20), AZALIA_PIN_CFG(2, 0x19, 0x02a19c30), AZALIA_PIN_CFG(2, 0x1a, 0x0181342f), AZALIA_PIN_CFG(2, 0x1b, 0x02214c1f), - 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, 0x1f, 0x411111f0), + AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(2, 0x1f, AZALIA_PIN_CFG_NC(0)), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/hda_verb.c index 33fd9d22c5..3856bb0ca1 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/hda_verb.c @@ -7,20 +7,20 @@ const u32 cim_verb_data[] = { 0x1458a002, /* Subsystem ID */ 15, /* Number of 4 dword sets */ AZALIA_SUBVENDOR(2, 0x1458a002), - AZALIA_PIN_CFG(2, 0x11, 0x411111f0), - AZALIA_PIN_CFG(2, 0x12, 0x411111f0), + AZALIA_PIN_CFG(2, 0x11, AZALIA_PIN_CFG_NC(0)), + 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, 0x1f, 0x411111f0), + AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(2, 0x1f, AZALIA_PIN_CFG_NC(0)), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/hda_verb.c index 33fd9d22c5..3856bb0ca1 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/hda_verb.c @@ -7,20 +7,20 @@ const u32 cim_verb_data[] = { 0x1458a002, /* Subsystem ID */ 15, /* Number of 4 dword sets */ AZALIA_SUBVENDOR(2, 0x1458a002), - AZALIA_PIN_CFG(2, 0x11, 0x411111f0), - AZALIA_PIN_CFG(2, 0x12, 0x411111f0), + AZALIA_PIN_CFG(2, 0x11, AZALIA_PIN_CFG_NC(0)), + 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, 0x1f, 0x411111f0), + AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(2, 0x1f, AZALIA_PIN_CFG_NC(0)), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/hda_verb.c index e17421fe77..3b00942080 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/hda_verb.c +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/hda_verb.c @@ -8,18 +8,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), }; -- cgit v1.2.3