Thread (103 messages) flat view 103 messages, 36 authors, 5d ago

Re: [PATCH 08/13] ARM: imx: remove nommu support

From: sashiko-bot@kernel.org
Date: 2026-09-08 15:43:41
Also in: imx

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Orphaned Kconfig dependencies on the removed `SOC_IMXRT` symbol leave drivers silently disabled.
--

commit ecf588322c385f47ce74ce1a3a67ac11cf5204d7
Author: Arnd Bergmann [off-list ref]

ARM: imx: remove nommu support

This commit drops support for three Cortex-M based microcontrollers on the
i.MX platform (i.MX RT1050, Vybrid vf610 M4, and i.MX7D M4). It removes the
relevant device trees, configs, and Kconfig entries to simplify the
platform by assuming an MMU is present.

[ ... ]
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 77704c6a70bad..cdc1b31fe5730 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
[ ... ]
-config SOC_IMXRT
-	bool "i.MXRT support (DEPRECATED)"
-	depends on ARM_SINGLE_ARMV7M
-	select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
-	help
-	  This enables support for Freescale i.MXRT Crossover processor.
-
-	  This platform is scheduled for removal in early 2027
-
[Severity: High]
Does removing SOC_IMXRT leave Kconfig dependencies orphaned in other
subsystems?

There appear to be a few config symbols that still depend on SOC_IMXRT:

drivers/clk/imx/Kconfig:
config CLK_IMXRT1050
        depends on SOC_IMXRT || COMPILE_TEST

drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1050
        depends on SOC_IMXRT || COMPILE_TEST
        default SOC_IMXRT

drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1170
        depends on SOC_IMXRT || COMPILE_TEST

Since SOC_IMXRT is removed here, these drivers might be left silently
disabled on normal builds. Should these drivers and their Kconfig
entries also be removed?

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260908152808.3928630-1-arnd@kernel.org?part=8
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help