azalia_device.h: Add new macro to configure pins as NC

Change-Id: I740d0d756599688165458a9c6e925d5d94754bb2
Signed-off-by: Felix Singer <felix.singer@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45604
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2020-09-22 12:55:25 +02:00 committed by Patrick Georgi
parent ba49d859ee
commit 1bdbcd7510
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ enum azalia_pin_location_2 {
(((codec) << 28) | ((pin) << 20) | (0x71f << 8) \ (((codec) << 28) | ((pin) << 20) | (0x71f << 8) \
| (((val) >> 24) & 0xff)) | (((val) >> 24) & 0xff))
#define AZALIA_PIN_CFG_NC(n) (0x411111f0 | (n & 0xf))
#define AZALIA_RESET(pin) \ #define AZALIA_RESET(pin) \
(((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00), \ (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00), \
(((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00) (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00)