From 1bdbcd751028799105c4288e86d600d2d0aa9428 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 22 Sep 2020 12:55:25 +0200 Subject: [PATCH] azalia_device.h: Add new macro to configure pins as NC Change-Id: I740d0d756599688165458a9c6e925d5d94754bb2 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/45604 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/include/device/azalia_device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index d510123515..9246d4bc87 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -128,6 +128,8 @@ enum azalia_pin_location_2 { (((codec) << 28) | ((pin) << 20) | (0x71f << 8) \ | (((val) >> 24) & 0xff)) +#define AZALIA_PIN_CFG_NC(n) (0x411111f0 | (n & 0xf)) + #define AZALIA_RESET(pin) \ (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00), \ (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00)