Commit 60f26520e7bd4479dbebf77317c45fc2255ba2e8

Authored by Alexey Korolev
Committed by David Woodhouse
1 parent d81408304b

[MTD] LPDDR Makefile and KConfig

We have two components to manage LPDDR flash memories in Linux.
1. It is a driver for chip probing and reading its capabilities
2. It is a device operations driver.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Acked-by: Jared Hulbert <jaredeh@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

Showing 4 changed files with 31 additions and 1 deletions Side-by-side Diff

... ... @@ -316,6 +316,8 @@
316 316  
317 317 source "drivers/mtd/onenand/Kconfig"
318 318  
  319 +source "drivers/mtd/lpddr/Kconfig"
  320 +
319 321 source "drivers/mtd/ubi/Kconfig"
320 322  
321 323 endif # MTD
drivers/mtd/Makefile
... ... @@ -29,7 +29,7 @@
29 29 nftl-objs := nftlcore.o nftlmount.o
30 30 inftl-objs := inftlcore.o inftlmount.o
31 31  
32   -obj-y += chips/ maps/ devices/ nand/ onenand/
  32 +obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/
33 33  
34 34 obj-$(CONFIG_MTD_UBI) += ubi/
drivers/mtd/lpddr/Kconfig
  1 +# drivers/mtd/chips/Kconfig
  2 +
  3 +menu "LPDDR flash memory drivers"
  4 + depends on MTD!=n
  5 +
  6 +config MTD_LPDDR
  7 + tristate "Support for LPDDR flash chips"
  8 + select MTD_QINFO_PROBE
  9 + help
  10 + This option enables support of LPDDR (Low power double data rate)
  11 + flash chips. Synonymous with Mobile-DDR. It is a new standard for
  12 + DDR memories, intended for battery-operated systems.
  13 +
  14 +config MTD_QINFO_PROBE
  15 + tristate "Detect flash chips by QINFO probe"
  16 + help
  17 + Device Information for LPDDR chips is offered through the Overlay
  18 + Window QINFO interface, permits software to be used for entire
  19 + families of devices. This serves similar purpose of CFI on legacy
  20 + Flash products
  21 +endmenu
drivers/mtd/lpddr/Makefile
  1 +#
  2 +# linux/drivers/mtd/lpddr/Makefile
  3 +#
  4 +
  5 +obj-$(CONFIG_MTD_QINFO_PROBE) += qinfo_probe.o
  6 +obj-$(CONFIG_MTD_LPDDR) += lpddr_cmds.o