Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Alexey Korolev and committed by
David Woodhouse
60f26520 d8140830

+31 -1
+2
drivers/mtd/Kconfig
··· 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
+1 -1
drivers/mtd/Makefile
··· 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/
+22
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 22 +
+6
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