aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbookair4_2
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-06 00:31:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-12 15:09:51 +0000
commit3012948b395ddc3b3659701c1b0c7506988cb770 (patch)
tree80f31234f0cd657f555a94168a50ba44203ce595 /src/mainboard/apple/macbookair4_2
parent9a0f09334356ed11a02202d3e024a72c62c9755d (diff)
mb/**/hda_verb.c: Clean up formatting
Change-Id: Ibe2d92990d0074266aa05ada749e9dad55e609a2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/apple/macbookair4_2')
-rw-r--r--src/mainboard/apple/macbookair4_2/hda_verb.c41
1 files changed, 6 insertions, 35 deletions
diff --git a/src/mainboard/apple/macbookair4_2/hda_verb.c b/src/mainboard/apple/macbookair4_2/hda_verb.c
index 69a165ca19..d5b2dcfdca 100644
--- a/src/mainboard/apple/macbookair4_2/hda_verb.c
+++ b/src/mainboard/apple/macbookair4_2/hda_verb.c
@@ -14,56 +14,27 @@
#include <device/azalia_device.h>
const u32 cim_verb_data[] = {
- 0x10134206, /* Codec Vendor / Device ID: Cirrus */
- 0x106b5b00, /* Subsystem ID */
-
- 11, /* Number of 4 dword sets */
- /* NID 0x01: Subsystem ID. */
+ 0x10134206, /* Codec Vendor / Device ID: Cirrus */
+ 0x106b5b00, /* Subsystem ID */
+ 11, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x0, 0x106b5b00),
-
- /* NID 0x09. */
AZALIA_PIN_CFG(0x0, 0x09, 0x012b4030),
-
- /* NID 0x0a. */
AZALIA_PIN_CFG(0x0, 0x0a, 0x400000f0),
-
- /* NID 0x0b. */
AZALIA_PIN_CFG(0x0, 0x0b, 0x90100120),
-
- /* NID 0x0c. */
AZALIA_PIN_CFG(0x0, 0x0c, 0x400000f0),
-
- /* NID 0x0d. */
AZALIA_PIN_CFG(0x0, 0x0d, 0x90a00110),
-
- /* NID 0x0e. */
AZALIA_PIN_CFG(0x0, 0x0e, 0x400000f0),
-
- /* NID 0x0f. */
AZALIA_PIN_CFG(0x0, 0x0f, 0x400000f0),
-
- /* NID 0x10. */
AZALIA_PIN_CFG(0x0, 0x10, 0x400000f0),
-
- /* NID 0x12. */
AZALIA_PIN_CFG(0x0, 0x12, 0x400000f0),
-
- /* NID 0x15. */
AZALIA_PIN_CFG(0x0, 0x15, 0x400000f0),
- 0x80862805, /* Codec Vendor / Device ID: Intel */
- 0x80860101, /* Subsystem ID */
- 4, /* Number of 4 dword sets */
- /* NID 0x01: Subsystem ID. */
+ 0x80862805, /* Codec Vendor / Device ID: Intel */
+ 0x80860101, /* Subsystem ID */
+ 4, /* Number of 4 dword sets */
AZALIA_SUBVENDOR(0x3, 0x80860101),
-
- /* NID 0x05. */
AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
-
- /* NID 0x06. */
AZALIA_PIN_CFG(0x3, 0x06, 0x18560010),
-
- /* NID 0x07. */
AZALIA_PIN_CFG(0x3, 0x07, 0x18560010),
};