MLK-21455-2 nvmem: imx-ocotp: broaden Kconfig dependency
authorLucas Stach <l.stach@pengutronix.de>
Thu, 28 Feb 2019 07:01:37 +0000 (08:01 +0100)
committerLeonard Crestez <leonard.crestez@nxp.com>
Thu, 18 Apr 2019 00:00:38 +0000 (03:00 +0300)
The i.MX OCOTP controller is used in numerous Freescale/NXP
SoCs from the MXC family, so the strict dependency on the
i.MX6 SoC is too narrow. Broaden it to cover all the MXC
familiy members.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
(cherry picked from commit af6e0fd10a116fa8756171a2fe53e00b1d55ae96)

drivers/nvmem/Kconfig

index 933e90a..0a630a1 100644 (file)
@@ -25,8 +25,8 @@ 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 || SOC_IMX7D || COMPILE_TEST
+       tristate "i.MX 6/7/8 On-Chip OTP Controller support"
+       depends on ARCH_MXC || COMPILE_TEST
        depends on HAS_IOMEM
        help
          This is a driver for the On-Chip OTP Controller (OCOTP) available on