Skip to content

Commit 96ba9dd

Browse files
VincenzoAliberticomputersforpeace
authored andcommitted
mtd: lpddr: add driver for LPDDR2-NVM PCM memories
Signed-off-by: Vincenzo Aliberti <vincenzo.aliberti@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
1 parent 5a4c4c5 commit 96ba9dd

File tree

4 files changed

+519
-2
lines changed

4 files changed

+519
-2
lines changed

drivers/mtd/lpddr/Kconfig

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
menu "LPDDR flash memory drivers"
2-
depends on MTD!=n
1+
menu "LPDDR & LPDDR2 PCM memory drivers"
2+
depends on MTD
33

44
config MTD_LPDDR
55
tristate "Support for LPDDR flash chips"
@@ -17,4 +17,12 @@ config MTD_QINFO_PROBE
1717
Window QINFO interface, permits software to be used for entire
1818
families of devices. This serves similar purpose of CFI on legacy
1919
Flash products
20+
21+
config MTD_LPDDR2_NVM
22+
depends on MTD
23+
tristate "Support for LPDDR2-NVM flash chips"
24+
help
25+
This option enables support of PCM memories with a LPDDR2-NVM
26+
(Low power double data rate 2) interface.
27+
2028
endmenu

drivers/mtd/lpddr/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
obj-$(CONFIG_MTD_QINFO_PROBE) += qinfo_probe.o
66
obj-$(CONFIG_MTD_LPDDR) += lpddr_cmds.o
7+
obj-$(CONFIG_MTD_LPDDR2_NVM) += lpddr2_nvm.o

0 commit comments

Comments
 (0)