summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include/amdblocks/chip.h
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2021-04-23 11:42:19 -0600
committerMartin Roth <martinroth@google.com>2021-04-29 15:10:48 +0000
commit4520aa2891263736791861c1fa12dd8f0c34a19e (patch)
tree0abf7f1fd9feaee03558177ca2631ee76037e8a6 /src/soc/amd/common/block/include/amdblocks/chip.h
parente5b85c3377901e2bdf2ecd21ea0f4b637e5a7c62 (diff)
downloadcoreboot-4520aa2891263736791861c1fa12dd8f0c34a19e.tar.xz
soc/amd/common/acp: Move Audio Co-processor driver to common
Audio Co-processor driver is similar for both Picasso and Cezanne SoCs. Hence move it to the common location. BUG=None. TEST=Builds Dalboz, Trembyle, Vilboz, Mandolin and Bilby mainboards. Change-Id: I91470ff68d1c183df9a2927d71b03371b535186a Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52643 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/block/include/amdblocks/chip.h')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/chip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/chip.h b/src/soc/amd/common/block/include/amdblocks/chip.h
index b06ff85d11..c80a6746e0 100644
--- a/src/soc/amd/common/block/include/amdblocks/chip.h
+++ b/src/soc/amd/common/block/include/amdblocks/chip.h
@@ -5,6 +5,7 @@
#include <amdblocks/espi.h>
#include <amdblocks/spi.h>
+#include <amdblocks/acp.h>
#include <stdint.h>
struct soc_amd_common_config {
@@ -36,6 +37,9 @@ struct soc_amd_common_config {
/* See MP_IRQ_* from mpspec.h */
uint8_t flags;
} irq_override[16];
+
+ /* Audio Co-processor (ACP) configuration */
+ struct acp_config acp_config;
};
/*