aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/acp/acp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/acp/acp.c')
-rw-r--r--src/soc/amd/common/block/acp/acp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/acp/acp.c b/src/soc/amd/common/block/acp/acp.c
index 057d50ad96..b9dfce29ce 100644
--- a/src/soc/amd/common/block/acp/acp.c
+++ b/src/soc/amd/common/block/acp/acp.c
@@ -12,6 +12,8 @@
#include <commonlib/helpers.h>
#include "acp_def.h"
+_Static_assert(!(CONFIG(SOC_AMD_COMMON_BLOCK_ACP_GEN1) && CONFIG(SOC_AMD_COMMON_BLOCK_ACP_GEN2)),
+ "Cannot select both ACP_GEN1 and ACP_GEN2 - check your config");
static const char *acp_acpi_name(const struct device *dev)
{