aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorJean-Marie Lemetayer <j.lemetayer@kerlink.fr>2023-02-13 14:12:25 +0100
committerStefano Babic <sbabic@denx.de>2023-03-30 08:40:27 +0200
commit251a3053b1e68de3421e2c5536e58b9632f9c770 (patch)
tree1dbe8832efd5bf959847a09b39c834f6b67a3eb0 /drivers/misc/Kconfig
parent0a98696a0f7dde33cfed055b75236e2253870e92 (diff)
downloadu-boot-251a3053b1e68de3421e2c5536e58b9632f9c770.zip
u-boot-251a3053b1e68de3421e2c5536e58b9632f9c770.tar.gz
u-boot-251a3053b1e68de3421e2c5536e58b9632f9c770.tar.bz2
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>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index b5707a1..4e1ae03 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