Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Sep 4, 2025

... and remove unused options. Intent is to clean the top-level Kconfig.sof

Most of the XTOS code was removed in commit b8266ae ("build: delete more
XTOS-only files"). SOF still maintains support to use old XTOS drivers
in Zephyr builds. There are multiple DMA and IPC drivers in the tree used
like this.

Move definitions required by these XTOS drivers to a separate Kconfig.xtos
tree. This allows to clean up the top-level Kconfig.sof.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Remove unused Kconfig options from Kconfig.sof.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copilot AI review requested due to automatic review settings September 4, 2025 11:34
@kv2019i kv2019i requested a review from jsarha September 4, 2025 11:35
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 moves XTOS-related build configuration options from the main Kconfig.sof file to a separate Kconfig.xtos file to improve organization and clean up the top-level configuration. The PR also removes some unused configuration options (MEM_WND and INTEL_IOMUX) from the original file.

Key changes:

  • Created a new Kconfig.xtos file containing XTOS and DMA-related configuration options
  • Removed XTOS configuration options from Kconfig.sof and added a reference to include the new file
  • Eliminated unused MEM_WND and INTEL_IOMUX configuration options

Reviewed Changes

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

File Description
Kconfig.xtos New file containing XTOS and DMA configuration options moved from Kconfig.sof
Kconfig.sof Cleaned up by removing XTOS options and unused configs, added reference to new Kconfig.xtos

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

Remote this altenrative DMA client code implementation used on
Intel platforms and XTOS. This has not in-tree users anymore, so
this is unused and can be removed.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i changed the title xtos: move XTOS build options to a separate Kconfig.xtos file xtos: cleanup Kconfig.xtos, remove CONFIG_DMA_GW and other unused options Sep 4, 2025
@kv2019i
Copy link
Collaborator Author

kv2019i commented Sep 4, 2025

V2:

  • added one more patch to the series removing unused Intel-specific code

Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

LGTM

@kv2019i kv2019i merged commit 4b22a55 into thesofproject:main Sep 8, 2025
35 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