From 44c431e16194213e5a1bd26d7a1e0dd09e53deef Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 8 Feb 2021 12:37:56 +0100 Subject: device/azalia_device: Add function to program a verb table On some boards, Azalia configuration depends on config settings that are not known at compile-time. Expose a function to program a verb table, to be used in subsequent commits. Change-Id: Ie9607f6e733df66f0ca26a4bb70e0864ce1d4512 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/50387 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/include/device/azalia_device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/device/azalia_device.h') diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index 1b4e769c3f..ce8c0d193e 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -22,6 +22,7 @@ int azalia_set_bits(void *port, u32 mask, u32 val); int azalia_enter_reset(u8 *base); int azalia_exit_reset(u8 *base); u32 azalia_find_verb(const u32 *verb_table, u32 verb_table_bytes, u32 viddid, const u32 **verb); +int azalia_program_verb_table(u8 *base, const u32 *verbs, u32 verb_size); void azalia_audio_init(struct device *dev); extern struct device_operations default_azalia_audio_ops; -- cgit v1.2.3