From 790c10b1eea89ec19b704d757367b5f508313028 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 16 Feb 2024 13:40:37 -0500 Subject: [PATCH] soc: x86/atom: imply mmu, do not select it Board should be able to deselect mmu, so imply instead of strict selection. userspace is selected for atom already on the CPU level, so do not reselect. Signed-off-by: Anas Nashif --- soc/intel/atom/Kconfig | 3 +-- subsys/testsuite/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/soc/intel/atom/Kconfig b/soc/intel/atom/Kconfig index e72c924c63f..c47ca54a290 100644 --- a/soc/intel/atom/Kconfig +++ b/soc/intel/atom/Kconfig @@ -3,6 +3,5 @@ config SOC_ATOM select X86 select CPU_ATOM - select X86_MMU - select ARCH_HAS_USERSPACE + imply X86_MMU select ARCH_HAS_RESERVED_PAGE_FRAMES diff --git a/subsys/testsuite/Kconfig b/subsys/testsuite/Kconfig index 5fa2a240f4d..e7674191357 100644 --- a/subsys/testsuite/Kconfig +++ b/subsys/testsuite/Kconfig @@ -131,8 +131,8 @@ config TEST_ENABLE_USERSPACE bool depends on TEST_USERSPACE depends on ARCH_HAS_USERSPACE - select USERSPACE - select DYNAMIC_OBJECTS + imply USERSPACE + imply DYNAMIC_OBJECTS default y help This hidden option implements the TEST_USERSPACE logic. It turns on