IMX8M_FEATCTRL selects FEATURE_CONTROLLER, so of_feature_controller_check() will return an error if the feature controller driver is missing. Given that the default for IMX_OCOTP is n, but for IMX8M_FEATCTRL is y, this error case is easily hit. Resolve this by selecting IMX_OCOTP when IMX8M_FEATCTRL is enabled. Reported-by: Bastian Krause <bst@xxxxxxxxxxxxxx> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/soc/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index b11db718c2bc..71f72eb4802b 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -11,6 +11,7 @@ config IMX8M_FEATCTRL bool "i.MX8M feature controller" depends on ARCH_IMX8M select FEATURE_CONTROLLER + select IMX_OCOTP default y help This driver disables device tree nodes that are not applicable -- 2.39.2