diff options
author | Angel Pons <th3fanbus@gmail.com> | 2024-06-06 18:07:54 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-06-07 11:13:19 +0000 |
commit | ca9f94854176808651d075b968aa7551cf4d2ae6 (patch) | |
tree | c8352dbe2f1adaa340029f329c87920721be4be7 /src/mainboard/purism/librem_cnl | |
parent | 14feda4412d0365471b46f5c2d087e02e5182d77 (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/purism/librem_cnl')
-rw-r--r-- | src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c | 12 | ||||
-rw-r--r-- | src/mainboard/purism/librem_cnl/variants/librem_mini/hda_verb.c | 16 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c b/src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c index 2fba59aa08..70b3247c74 100644 --- a/src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c +++ b/src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c @@ -14,14 +14,14 @@ const u32 cim_verb_data[] = { AZALIA_SUBVENDOR(0, 0x10ec0256), AZALIA_PIN_CFG(0, 0x12, 0x90a60140), /* Front digital mic */ - AZALIA_PIN_CFG(0, 0x13, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x13, AZALIA_PIN_CFG_NC(0)), /* NC */ AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Internal speakers */ - AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x18, AZALIA_PIN_CFG_NC(0)), /* NC */ AZALIA_PIN_CFG(0, 0x19, 0x02a11030), /* Jack analog mic */ - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1d, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1d, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)), /* NC */ AZALIA_PIN_CFG(0, 0x21, 0x02211020), /* Jack analog out */ /* Hidden SW reset */ diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/hda_verb.c b/src/mainboard/purism/librem_cnl/variants/librem_mini/hda_verb.c index 5a9aead2e7..4734390ceb 100644 --- a/src/mainboard/purism/librem_cnl/variants/librem_mini/hda_verb.c +++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/hda_verb.c @@ -10,16 +10,16 @@ const u32 cim_verb_data[] = { AZALIA_RESET(0x1), AZALIA_SUBVENDOR(0, 0x10ec0269), - AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x14, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x12, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x14, AZALIA_PIN_CFG_NC(0)), /* NC */ AZALIA_PIN_CFG(0, 0x15, 0x02211010), /* Jack analog out */ - AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)), /* NC */ AZALIA_PIN_CFG(0, 0x18, 0x02a11120), /* Jack analog mic, no presence detect */ - AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1d, 0x411111f0), /* NC */ - AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* NC */ + AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1d, AZALIA_PIN_CFG_NC(0)), /* NC */ + AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)), /* NC */ 0x8086280b, /* Codec Vendor/Device ID: Intel CannonPoint HDMI */ 0x80860101, /* Subsystem ID */ |