]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_MXS_OCOTP to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:28 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:07:13 +0000 (16:07 -0500)
This converts the following to Kconfig:
   CONFIG_MXS_OCOTP

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/misc/Kconfig
include/configs/mxs.h

index fb3bbb3b919fcfcd22a29ddfbd40eb202bc8cf66..122d605a537ddac5d3d250c9a1724c1616d920ff 100644 (file)
@@ -330,6 +330,14 @@ config MXC_OCOTP
          Programmable memory pages that are stored on the some
          Freescale i.MX processors.
 
+config MXS_OCOTP
+       bool "Enable MXS OCOTP Driver"
+       depends on ARCH_MX23 || ARCH_MX28
+       help
+         If you say Y here, you will get support for the One Time
+         Programmable memory pages that are stored on the
+         Freescale i.MXS family of processors.
+
 config NPCM_HOST
        bool "Enable support espi or LPC for Host"
        depends on REGMAP && SYSCON
index 5df080ade4a2f23240cba71e61521d9affbafafc..30f27e7f0c191641b9fda26447a26733b026ad6d 100644 (file)
 #define CFG_SYS_NAND_BASE              0x60000000
 #endif
 
-/* OCOTP */
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXS_OCOTP
-#endif
-
 /* SPI */
 #ifdef CONFIG_CMD_SPI
 #define CONFIG_SPI_HALF_DUPLEX