device/azalia_device.h: Rewrite verb macros
commit05c4dcbae37728700a165aa1e9a752a4d9af17e2
authorAngel Pons <th3fanbus@gmail.com>
Wed, 3 Nov 2021 11:18:31 +0000 (3 12:18 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 4 Nov 2021 00:23:45 +0000 (4 00:23 +0000)
tree762622144e0bd432f241cf8387633854d0916581
parent779d0c66df2cc5ec4db476fa80c2aa01661e48a6
device/azalia_device.h: Rewrite verb macros

Introduce the `AZALIA_VERB_12B` macro to encode HDA commands with 12-bit
verb identifiers and rewrite existing helper macros to use it.

Tested with BUILD_TIMELESS=1, Purism Librem Mini remains identical.

Change-Id: I5b2418f6d2faf6d5ab424949d18784ca6d519799
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58901
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/include/device/azalia_device.h