From: Stefan Agner <ste...@agner.ch>

The imx-ocotp nvmem driver supports the i.MX 7D SoC too. Allow to select
the imx-ocotp driver even if only the i.MX 7D SoC has been selected.

Fixes: 711d45477931 ("nvmem: octop: Add i.MX7D support")
Signed-off-by: Stefan Agner <ste...@agner.ch>
Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
---
Hi Greg, 
If its not too late, can you take this patch for 5.1.

Thanks,
srini

 drivers/nvmem/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 0a7a470ee859..9bbe2816400a 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -26,7 +26,7 @@ config NVMEM_IMX_IIM
 
 config NVMEM_IMX_OCOTP
        tristate "i.MX6 On-Chip OTP Controller support"
-       depends on SOC_IMX6 || COMPILE_TEST
+       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
-- 
2.20.1

Reply via email to