2 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
3 * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com>
5 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/fsp/fsp_support.h>
11 /* ALC262 Verb Table - 10EC0262 */
12 static const u32 verb_table_data13[] = {
13 /* Pin Complex (NID 0x11) */
18 /* Pin Complex (NID 0x12) */
23 /* Pin Complex (NID 0x14) */
28 /* Pin Complex (NID 0x15) */
33 /* Pin Complex (NID 0x16) */
38 /* Pin Complex (NID 0x18) */
43 /* Pin Complex (NID 0x19) */
48 /* Pin Complex (NID 0x1A) */
81 * This needs to be in ROM since if we put it in CAR, FSP init loses it when
84 * VerbTable: (RealTek ALC262)
85 * Revision ID = 0xFF, support all steps
86 * Codec Verb Table For AZALIA
87 * Codec Address: CAd value (0/1/2)
88 * Codec Vendor: 0x10EC0262
90 static const struct azalia_verb_table azalia_verb_table[] = {
104 static const struct azalia_config azalia_config = {
106 .docking_supported = 1,
107 .docking_attached = 0,
108 .hdmi_codec_enable = 1,
109 .azalia_v_ci_enable = 1,
112 .verb_table = azalia_verb_table,
113 .reset_wait_timer_ms = 300
116 void update_fsp_azalia_configs(const struct azalia_config **azalia)
118 *azalia = &azalia_config;
121 int board_early_init_f(void)
124 * The FSP enables the BayTrail internal legacy UART (again).
125 * Disable it again, so that the one on the EC can be used.
127 setup_internal_uart(0);