mb/prodrive/hermes/hda_verb.c: Refactor port B Vref cfg
commit78a26aca8b8324115f3d8078747a74ee27a257a6
authorAngel Pons <th3fanbus@gmail.com>
Mon, 13 May 2024 09:11:53 +0000 (13 11:11 +0200)
committerMaximilian Brune <maximilian.brune@9elements.com>
Mon, 20 May 2024 12:58:07 +0000 (20 12:58 +0000)
tree68aa65929c9d5634fc77cf57bba3fd82c5bd8bf2
parentf2d260d9885264e1da8dbcd5609d0d082d7fcfe8
mb/prodrive/hermes/hda_verb.c: Refactor port B Vref cfg

Refactor the `get_port_b_vref_cfg()` function to only return the
variable bits of the value. The NID itself is not connected, and
the `misc` field in the verb conveys the Vref value.

Change-Id: I5108f5339c5b002403a4e5339da6d52046c8bcbe
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82395
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/prodrive/hermes/hda_verb.c