coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hda_verb.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <device/azalia_device.h>
4 
5 #if CONFIG(BOARD_FOXCONN_G41S_K)
6 const u32 cim_verb_data[] = {
7  /* coreboot specific header */
8  0x10ec0888, /* Vendor ID */
9  0x105b0dda, /* Subsystem ID */
10  0x0000000e, /* Number of entries */
11 
12  /* Pin Widget Verb Table */
13 
14  AZALIA_PIN_CFG(0, 0x11, 0x99430140),
15  AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
16  AZALIA_PIN_CFG(0, 0x14, 0x01014410),
17  AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
18  AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
19  AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
20  AZALIA_PIN_CFG(0, 0x18, 0x01a19c50),
21  AZALIA_PIN_CFG(0, 0x19, 0x02a19c60),
22  AZALIA_PIN_CFG(0, 0x1a, 0x0181345f),
23  AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
24  AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
25  AZALIA_PIN_CFG(0, 0x1d, 0x4004c601),
26  AZALIA_PIN_CFG(0, 0x1e, 0x01441130),
27  AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
28 };
29 #else /* CONFIG_BOARD_FOXCONN_G41M */
30 const u32 cim_verb_data[] = {
31  /* coreboot specific header */
32  0x10ec0888, /* Vendor ID */
33  0x105b0dc0, /* Subsystem ID */
34  0x0000000e, /* Number of entries */
35 
36  /* Pin Widget Verb Table */
37 
38  AZALIA_PIN_CFG(2, 0x11, 0x01441140),
39  AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
40  AZALIA_PIN_CFG(2, 0x14, 0x01014410),
41  AZALIA_PIN_CFG(2, 0x15, 0x01011412),
42  AZALIA_PIN_CFG(2, 0x16, 0x01016411),
43  AZALIA_PIN_CFG(2, 0x17, 0x01012414),
44  AZALIA_PIN_CFG(2, 0x18, 0x01a19c50),
45  AZALIA_PIN_CFG(2, 0x19, 0x02a19c60),
46  AZALIA_PIN_CFG(2, 0x1a, 0x0181345f),
47  AZALIA_PIN_CFG(2, 0x1b, 0x02014c20),
48  AZALIA_PIN_CFG(2, 0x1c, 0x593301f0),
49  AZALIA_PIN_CFG(2, 0x1d, 0x4007f603),
50  AZALIA_PIN_CFG(2, 0x1e, 0x99430130),
51  AZALIA_PIN_CFG(2, 0x1f, 0x411111f0),
52 };
53 #endif
54 
55 const u32 pc_beep_verbs[0] = {};
56 
#define AZALIA_PIN_CFG(codec, pin, val)
#define ARRAY_SIZE(a)
Definition: helpers.h:12
const u32 cim_verb_data[]
Definition: hda_verb.c:5
const u32 pc_beep_verbs[]
Definition: hda_verb.c:37
const u32 cim_verb_data_size
Definition: hda_verb.c:39
const u32 pc_beep_verbs_size
Definition: hda_verb.c:38
uint32_t u32
Definition: stdint.h:51