* [PATCH] misc: imx: remove DM dependency for ocotp driver in SPL
@ 2023-02-13 13:12 Jean-Marie Lemetayer
2023-03-30 8:43 ` sbabic
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Marie Lemetayer @ 2023-02-13 13:12 UTC (permalink / raw)
To: u-boot
Cc: Jean-Marie Lemetayer, Jim Liu, Marek Vasut, Michael Walle,
Sean Anderson, Simon Glass, Stefano Babic, Ye Li
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 <j.lemetayer@kerlink.fr>
---
drivers/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index b07261d3db..1696ed62c0 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -352,7 +352,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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] misc: imx: remove DM dependency for ocotp driver in SPL
2023-02-13 13:12 [PATCH] misc: imx: remove DM dependency for ocotp driver in SPL Jean-Marie Lemetayer
@ 2023-03-30 8:43 ` sbabic
0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2023-03-30 8:43 UTC (permalink / raw)
To: Jean-Marie Lemetayer, u-boot
> 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 <j.lemetayer@kerlink.fr>
Applied to u-boot-imx, next, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-30 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 13:12 [PATCH] misc: imx: remove DM dependency for ocotp driver in SPL Jean-Marie Lemetayer
2023-03-30 8:43 ` sbabic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox