Convert CONFIG_MXS_OCOTP to Kconfig

This converts the following to Kconfig:
   CONFIG_MXS_OCOTP

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-11-19 18:45:28 -05:00
parent 2568bd6db7
commit 6c03a65275
2 changed files with 8 additions and 5 deletions

View 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

View file

@ -86,11 +86,6 @@
#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