diff options
author | Richard Weinberger <richard@nod.at> | 2016-02-22 11:23:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-05 12:20:29 -0800 |
commit | 5685e24446ab9aa0a529cf87a69ad73f4775888a (patch) | |
tree | 4fc47a4818b7c10791a34434d987b9dff5353547 /drivers/nvmem/Kconfig | |
parent | ba6ed7e1ec8624ef21b077272fd0126c95c4e0e0 (diff) | |
download | linux-stable-5685e24446ab9aa0a529cf87a69ad73f4775888a.tar.gz linux-stable-5685e24446ab9aa0a529cf87a69ad73f4775888a.tar.bz2 linux-stable-5685e24446ab9aa0a529cf87a69ad73f4775888a.zip |
nvmem: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r-- | drivers/nvmem/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 5bd18cc1a69c..ca52952d850f 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -37,6 +37,7 @@ config NVMEM_LPC18XX_EEPROM 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 @@ -59,6 +60,7 @@ config MTK_EFUSE 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 @@ -70,6 +72,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. @@ -91,6 +94,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. |