mb/starlabs/byte_adl: Remove the override verb function

This board does not have a DMIC, so don't try to disable.

Change-Id: Ic47f9c3b40dd76a78325b024ba8f93a117f7d031
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87095
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2025-04-02 10:12:02 +01:00
commit 6f01685f5d
2 changed files with 0 additions and 27 deletions

View file

@ -10,6 +10,5 @@ verstage-$(CONFIG_VBOOT) += vboot.c
romstage-$(CONFIG_VBOOT) += vboot.c
ramstage-$(CONFIG_DRIVERS_OPTION_CFR) += cfr.c
ramstage-y += hda_verb.c
ramstage-y += mainboard.c
ramstage-y += smbios.c

View file

@ -1,26 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
#include <device/azalia_device.h>
#include <option.h>
#include <types.h>
#define AZALIA_CODEC_SN6140 0x14f11f87
static const u32 override_verb[] = {
AZALIA_PIN_CFG(0, 0x1a, 0x00000000),
};
static void disable_microphone(u8 *base)
{
azalia_program_verb_table(base, override_verb, ARRAY_SIZE(override_verb));
}
void mainboard_azalia_program_runtime_verbs(u8 *base, u32 viddid)
{
if (viddid == AZALIA_CODEC_SN6140) {
printk(BIOS_DEBUG, "CMOS: viddid = %08x\n", viddid);
if (get_uint_option("microphone", 1) == 0)
disable_microphone(base);
}
}