[PATCH] nvmem: imx-ocotp: update Kconfig to incluide i.MX7

From: your name
Date: Thu Dec 21 2017 - 11:42:20 EST


From: Andrey Yurovsky <yurovsky@xxxxxxxxx>

This driver supports the i.MX7 as well and OTP capacity varies by SoC.
Update the depends on line to include SOC_IMX7D and update the help
text.

Signed-off-by: Andrey Yurovsky <yurovsky@xxxxxxxxx>
---
drivers/nvmem/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index ff505af064ba..3fe24fda08b7 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -25,12 +25,12 @@ config NVMEM_IMX_IIM
will be called nvmem-imx-iim.

config NVMEM_IMX_OCOTP
- tristate "i.MX6 On-Chip OTP Controller support"
- depends on SOC_IMX6 || COMPILE_TEST
+ tristate "i.MX6 and i.MX7 On-Chip OTP Controller support"
+ depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST
depends on HAS_IOMEM
help
This is a driver for the On-Chip OTP Controller (OCOTP) available on
- i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
+ i.MX6 and i.MX7 SoCs, providing access to one-time programmable
eFuses.

This driver can also be built as a module. If so, the module
--
2.14.3