summaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes/hda_verb.c
blob: 9780e7dcb5335c5f92cf8b88f1d689d00d033adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/azalia_device.h>
#include <types.h>
#include <console/console.h>

#include "variants/baseboard/include/eeprom.h"
#include "variants/baseboard/include/variant/variants.h"

void mainboard_azalia_program_runtime_verbs(u8 *base, u32 viddid)
{
	if (viddid == 0x10ec0888) {
		u8 hsi = get_bmc_hsi();

		if (hsi >= 3) /* R04 and newer */
			mainboard_r0x_configure_alc888(base, viddid);
	}
}