From: Jean-Marie Lemetayer Date: Mon, 13 Feb 2023 13:12:25 +0000 (+0100) Subject: misc: imx: remove DM dependency for ocotp driver in SPL X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~42 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=238158a4a1053993bd8d7c8f40fe6c60e87e89ba;p=uboot.git misc: imx: remove DM dependency for ocotp driver in SPL The ocotp driver is available for regular and SPL builds using the (SPL_)MXC_OCOTP configuration. Also, the ocotp driver does not support the driver model (DM) configuration. But, for SPL builds, the SPL_MXC_OCOTP configuration depends on SPL_MISC which implies on SPL_DM. This commit replaces the dependency on SPL_MISC with SPL_DRIVERS_MISC. So the only requirement is to have enabled miscellaneous drivers for the SPL. Signed-off-by: Jean-Marie Lemetayer --- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index b5707a15c5..4e1ae03e9f 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -348,7 +348,7 @@ config NPCM_HOST config SPL_MXC_OCOTP bool "Enable MXC OCOTP driver in SPL" - depends on SPL_MISC && (ARCH_IMX8M || ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_VF610) + depends on SPL_DRIVERS_MISC && (ARCH_IMX8M || ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_VF610) default y help If you say Y here, you will get support for the One Time