From 4ef01e448b761920363b01d26f114e83a618b270 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 26 Oct 2023 12:09:48 -0700 Subject: [PATCH] soc: xtensa/nxp_adsp: put guard in Kconfig.defconfig This adds a if CONFIG_SOC_FAMILY_NXP_ADSP guard in Kconfig.defconfig for nxp_adsp. Or else all of its default get applied everywhere. For example, qemu_xtensa fails kernel.logging.message_capture tests because CONFIG_TEST_LOGGING_DEFAULTS is disabled in nxp_adsp/Kconfig.defconfig which should not have applied to qemu_xtensa at all. So put a guard in there. Signed-off-by: Daniel Leung --- soc/xtensa/nxp_adsp/Kconfig.defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soc/xtensa/nxp_adsp/Kconfig.defconfig b/soc/xtensa/nxp_adsp/Kconfig.defconfig index 0dc331f883480a..cdee20c75f5305 100644 --- a/soc/xtensa/nxp_adsp/Kconfig.defconfig +++ b/soc/xtensa/nxp_adsp/Kconfig.defconfig @@ -3,6 +3,8 @@ # Copyright (c) 2021 NXP # SPDX-License-Identifier: Apache-2.0 +if SOC_FAMILY_NXP_ADSP + source "soc/xtensa/nxp_adsp/*/Kconfig.defconfig.series" config CACHE_MANAGEMENT @@ -27,3 +29,5 @@ config 2ND_LEVEL_INTERRUPTS config TEST_LOGGING_DEFAULTS default n depends on TEST + +endif