summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x200
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-09-04 21:47:03 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-09-05 00:11:47 +0200
commitf91ecce609ed8f90de5840e265cb3da3520ab591 (patch)
tree5f43558926ece6f5c5ff2e48309fd320529557dc /src/mainboard/lenovo/x200
parent8f0da582abc8f522b7eacd4e35295091abb19be2 (diff)
azalia: Change specific PIN_CFGs to generic AZALIA_PIN_CFG
Change-Id: I3463d0c283793547b00a7628f27f2f1777c21238 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6838 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x200')
-rw-r--r--src/mainboard/lenovo/x200/hda_verb.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/mainboard/lenovo/x200/hda_verb.h b/src/mainboard/lenovo/x200/hda_verb.h
index 6be7518e1a..3d922589f8 100644
--- a/src/mainboard/lenovo/x200/hda_verb.h
+++ b/src/mainboard/lenovo/x200/hda_verb.h
@@ -18,12 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define PIN_CFG(pin, val) \
- (pin << 20) | ( 0x71c << 8) | (val & 0xff), \
- (pin << 20) | ( 0x71d << 8) | ((val >> 8) & 0xff), \
- (pin << 20) | ( 0x71e << 8) | ((val >> 16) & 0xff), \
- (pin << 20) | ( 0x71f << 8) | ((val >> 24) & 0xff)
-
static const u32 mainboard_cim_verb_data[] = {
/* coreboot specific header */
0x14f15051, // Conexant CX20561 (Hermosa)
@@ -32,14 +26,14 @@ static const u32 mainboard_cim_verb_data[] = {
/* Pin Widget Verb Table */
- PIN_CFG(0x16, 0x042140f0),
- PIN_CFG(0x17, 0x61a190f0),
- PIN_CFG(0x18, 0x04a190f0),
- PIN_CFG(0x19, 0x612140f0),
- PIN_CFG(0x1a, 0x901701f0),
- PIN_CFG(0x1b, 0x40f001f0),
- PIN_CFG(0x1c, 0x40f001f0),
- PIN_CFG(0x1d, 0x90a601f0)
+ AZALIA_PIN_CFG(0, 0x16, 0x042140f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x61a190f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x04a190f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x612140f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x901701f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1c, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x90a601f0)
};
static const u32 mainboard_pc_beep_verbs[] = {