nvmem: allow to select i.MX nvmem driver for i.MX 7D
authorStefan Agner <stefan@agner.ch>
Sun, 3 Feb 2019 09:43:37 +0000 (09:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Feb 2019 12:09:37 +0000 (13:09 +0100)
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 <stefan@agner.ch>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig

index 0a7a470ee8594e14ecf905d683179d6ac97c105a..9bbe2816400a00e82c1c2a8f0c0f5998461ab22c 100644 (file)
@@ -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