nvmem: rockchip-efuse: Fix dependencies
[firefly-linux-kernel-4.4.55.git] / drivers / nvmem / Kconfig
index bc4ea585b42e72c469f6512bf2f1057b2ab723c8..584f11a815e9f538a29fa8dacea4320505b2e7a9 100644 (file)
@@ -1,6 +1,5 @@
 menuconfig NVMEM
        tristate "NVMEM Support"
-       select REGMAP
        help
          Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
 
@@ -28,6 +27,7 @@ config NVMEM_IMX_OCOTP
 config NVMEM_MXS_OCOTP
        tristate "Freescale MXS On-Chip OTP Memory Support"
        depends on ARCH_MXS || COMPILE_TEST
+       depends on HAS_IOMEM
        help
          If you say Y here, you will get readonly access to the
          One Time Programmable memory pages that are stored
@@ -39,6 +39,7 @@ config NVMEM_MXS_OCOTP
 config QCOM_QFPROM
        tristate "QCOM QFPROM Support"
        depends on ARCH_QCOM || COMPILE_TEST
+       depends on HAS_IOMEM
        select REGMAP_MMIO
        help
          Say y here to enable QFPROM support. The QFPROM provides access
@@ -50,6 +51,7 @@ config QCOM_QFPROM
 config ROCKCHIP_EFUSE
        tristate "Rockchip eFuse Support"
        depends on ARCH_ROCKCHIP || COMPILE_TEST
+       depends on HAS_IOMEM
        help
          This is a simple drive to dump specified values of Rockchip SoC
          from eFuse, such as cpu-leakage.
@@ -71,6 +73,7 @@ config NVMEM_SUNXI_SID
 config NVMEM_VF610_OCOTP
        tristate "VF610 SoC OCOTP support"
        depends on SOC_VF610 || COMPILE_TEST
+       depends on HAS_IOMEM
        help
          This is a driver for the 'OCOTP' peripheral available on Vybrid
          devices like VF5xx and VF6xx.