From a852416cc2fe52427ed431a7ed901a10f80f57d3 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Tue, 31 Mar 2020 06:27:14 -0400 Subject: [PATCH] soc: intel_apl_adsp: Add defaults for IPM and IPM console Add defaults for IPM and IPM_CONSOLE when IPM and CONSOLE are enabled. Signed-off-by: Andrei Emeltchenko --- soc/xtensa/intel_apl_adsp/Kconfig.defconfig | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/soc/xtensa/intel_apl_adsp/Kconfig.defconfig b/soc/xtensa/intel_apl_adsp/Kconfig.defconfig index 7736d86009b..f439ab68b64 100644 --- a/soc/xtensa/intel_apl_adsp/Kconfig.defconfig +++ b/soc/xtensa/intel_apl_adsp/Kconfig.defconfig @@ -43,8 +43,9 @@ config TEST_LOGGING_DEFAULTS if LOG +# When console is enabled printk should go through it config LOG_PRINTK - default y + default y if !CONSOLE config LOG_BACKEND_RB default y @@ -57,7 +58,6 @@ config LOG_BACKEND_RB_MEM_SIZE endif # LOG - if SMP config MP_NUM_CPUS @@ -80,4 +80,13 @@ config SCHED_IPI_SUPPORTED endif +config IPM_INTEL_ADSP + default y + depends on IPM + +config IPM_CONSOLE + default y + depends on CONSOLE + depends on IPM + endif