summaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/lpddr/Kconfig')
-rw-r--r--drivers/mtd/lpddr/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/lpddr/Kconfig b/drivers/mtd/lpddr/Kconfig
index 468f06dea45d..3a19cbee24d7 100644
--- a/drivers/mtd/lpddr/Kconfig
+++ b/drivers/mtd/lpddr/Kconfig
@@ -19,7 +19,8 @@ config MTD_QINFO_PROBE
Flash products
config MTD_LPDDR2_NVM
- depends on MTD
+ # ARM dependency is only for writel_relaxed()
+ depends on MTD && ARM
tristate "Support for LPDDR2-NVM flash chips"
help
This option enables support of PCM memories with a LPDDR2-NVM