Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Sep 1, 2025

Follow-up to RFC PR #10182

This starts with audio component build options that are common to all Intel DSPs.

Remove unnecessary 'n' defaults in audio modules. This doesn't affect
any current build as 'n' is the default if not set otherwise.

By removing the unconditional defaults, it becomes possible to set
defaults later in board/family specific Kconfig.defconfig files.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
SOF builds currently use the board Kconfig file to set any
target specific build options. This includes modifying Zephyr
build options (if different from Zephyr defaults for the SoC) and
setting SOF specific options.

There is currently no way to share definitions. For Intel ADSP boards,
there starts to be a lot of boards and a lot of duplication of
settings.

Add a new mechanism to include common Kconfig.defconfig for a family of
boards. Start with addition of boards/intel_adsp/Kconfig.defconfig and
move common defaults for SOF audio modules to the common file. These are
options that are not related to hardware features, but we want to set
them in the same way for all Intel ADSP targets.

Follow-up patches will move more options to the common Kconfig.defconfig
and other vendors can add their own board family defconfig files.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copilot AI review requested due to automatic review settings September 1, 2025 17:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements shared common audio build options for Intel ADSPs to reduce code duplication across board configurations. The changes centralize default configuration values that were previously duplicated in individual board configuration files.

  • Removes redundant default n statements from Kconfig files since this is the implicit default
  • Creates a centralized defconfig file for Intel ADSP platforms with common audio component defaults
  • Removes duplicated configuration lines from individual Intel ADSP board files

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/boards/intel_adsp/Kconfig.defconfig New centralized defconfig file defining common Intel ADSP audio defaults
app/Kconfig Adds conditional inclusion of Intel ADSP defconfig
Multiple audio Kconfig files Removes redundant default n statements
Multiple board .conf files Removes duplicated configuration options now handled centrally
Kconfig.sof Removes redundant default n for FAST_GET

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@lgirdwood lgirdwood merged commit 3f3e337 into thesofproject:main Sep 8, 2025
36 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants