]> git.baikalelectronics.ru Git - uboot.git/commit
misc: imx: remove DM dependency for ocotp driver in SPL
authorJean-Marie Lemetayer <j.lemetayer@kerlink.fr>
Mon, 13 Feb 2023 13:12:25 +0000 (14:12 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 06:40:27 +0000 (08:40 +0200)
commit238158a4a1053993bd8d7c8f40fe6c60e87e89ba
tree1dbe8832efd5bf959847a09b39c834f6b67a3eb0
parent70dda3f51c5091e7f93889e51f75f0c3bd18bf1c
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 <j.lemetayer@kerlink.fr>
drivers/misc/Kconfig