Skip to content

Commit

Permalink
soc: xtensa/nxp_adsp: put guard in Kconfig.defconfig
Browse files Browse the repository at this point in the history
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 <daniel.leung@intel.com>
  • Loading branch information
dcpleung authored and nashif committed Oct 26, 2023
1 parent 36720db commit 1fac5ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soc/xtensa/nxp_adsp/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,3 +29,5 @@ config 2ND_LEVEL_INTERRUPTS
config TEST_LOGGING_DEFAULTS
default n
depends on TEST

endif

0 comments on commit 1fac5ed

Please sign in to comment.