Damien Zammit | cbe7a8e | 2015-08-19 15:23:32 +1000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; either version 2 of |
| 9 | * the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
| 17 | #include <device/azalia_device.h> |
| 18 | |
| 19 | const u32 cim_verb_data[] = { |
| 20 | /* coreboot specific header */ |
| 21 | 0x10ec0887, |
| 22 | 0x1458a002, // Subsystem ID |
| 23 | 0x0000000e, // Number of entries |
| 24 | |
| 25 | /* Pin Widget Verb Table */ |
| 26 | |
| 27 | AZALIA_PIN_CFG(0, 0x11, 0x411110f0), |
| 28 | AZALIA_PIN_CFG(0, 0x12, 0x411111f0), |
| 29 | AZALIA_PIN_CFG(0, 0x14, 0x01014410), |
| 30 | AZALIA_PIN_CFG(0, 0x15, 0x411111f0), |
| 31 | AZALIA_PIN_CFG(0, 0x16, 0x411111f0), |
| 32 | AZALIA_PIN_CFG(0, 0x17, 0x411111f0), |
| 33 | AZALIA_PIN_CFG(0, 0x18, 0x01a19c40), |
| 34 | AZALIA_PIN_CFG(0, 0x19, 0x02a19c50), |
| 35 | AZALIA_PIN_CFG(0, 0x1a, 0x0181344f), |
| 36 | AZALIA_PIN_CFG(0, 0x1b, 0x02214c20), |
| 37 | AZALIA_PIN_CFG(0, 0x1c, 0x593301f0), |
| 38 | AZALIA_PIN_CFG(0, 0x1d, 0x4005c603), |
| 39 | AZALIA_PIN_CFG(0, 0x1e, 0x014b6130), |
| 40 | AZALIA_PIN_CFG(0, 0x1f, 0x01cb7160), |
| 41 | }; |
| 42 | |
| 43 | const u32 pc_beep_verbs[0] = {}; |
| 44 | |
| 45 | const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs); |
| 46 | const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data); |