2019-01-28 17:15:43

by Stefan Agner

[permalink] [raw]
Subject: [PATCH 2/3] nvmem: allow to select i.MX nvmem driver for i.MX 7D

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 <[email protected]>
---
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



2019-01-29 09:07:32

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH 2/3] nvmem: allow to select i.MX nvmem driver for i.MX 7D



On 28/01/2019 16:07, Stefan Agner wrote:
> 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 <[email protected]>

Applied thanks,


srini