summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-07-03 19:20:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-07-04 10:58:32 +0200
commitab4c8f7ce703f184b8c57f1ab54ef56861dac445 (patch)
treede4cfbac53d8b89c75da61e884f98e337b13eb46 /drivers/soc
parent2efd3fa662d68cdf8f091f8301c3bad56bcccc44 (diff)
downloadbarebox-ab4c8f7ce703f184b8c57f1ab54ef56861dac445.tar.gz
barebox-ab4c8f7ce703f184b8c57f1ab54ef56861dac445.tar.xz
soc: imx: have IMX8M_FEATCTRL select IMX_OCOTP
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@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230703172054.536931-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/imx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index b11db718c2..71f72eb480 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