From f7b44a36f89632e3ec4f825acd3d5f07fa3a1f50 Mon Sep 17 00:00:00 2001 From: Krzysztof Chruscinski Date: Thu, 27 Jan 2022 14:16:52 +0100 Subject: [PATCH] soc: xtensa: sample_controller: Cleanup backend config Removing backend config from board Kconfig.defconfig and moving it to xtensa_sim backend configuration in logging. Without this change define persisted even when logging was not using backends and that impacted what is compiled in. Signed-off-by: Krzysztof Chruscinski --- soc/xtensa/sample_controller/Kconfig.defconfig | 3 --- subsys/logging/Kconfig.backends | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/soc/xtensa/sample_controller/Kconfig.defconfig b/soc/xtensa/sample_controller/Kconfig.defconfig index bf208aa79ad..cc2040a5e93 100644 --- a/soc/xtensa/sample_controller/Kconfig.defconfig +++ b/soc/xtensa/sample_controller/Kconfig.defconfig @@ -13,7 +13,4 @@ config SOC_TOOLCHAIN_NAME string default "sample_controller" -config LOG_BACKEND_XTENSA_SIM - default LOG - endif diff --git a/subsys/logging/Kconfig.backends b/subsys/logging/Kconfig.backends index e60e4f0e042..2afd52c3652 100644 --- a/subsys/logging/Kconfig.backends +++ b/subsys/logging/Kconfig.backends @@ -219,6 +219,7 @@ endif # LOG_BACKEND_NATIVE_POSIX config LOG_BACKEND_XTENSA_SIM bool "Xtensa simulator backend" depends on SOC_XTENSA_SAMPLE_CONTROLLER || SOC_FAMILY_INTEL_ADSP + default y if SOC_XTENSA_SAMPLE_CONTROLLER help Enable backend in xtensa simulator