diff options
author | Alexey Korolev <akorolev@infradead.org> | 2008-12-16 13:24:14 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-05 07:58:47 -0500 |
commit | 60f26520e7bd4479dbebf77317c45fc2255ba2e8 (patch) | |
tree | 11eea5a993901aa3ec567a07383fa9ef0202ca5e /drivers/mtd | |
parent | d81408304b06a71c28417445202af9cd6673168d (diff) |
[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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/Makefile | 2 | ||||
-rw-r--r-- | drivers/mtd/lpddr/Kconfig | 22 | ||||
-rw-r--r-- | drivers/mtd/lpddr/Makefile | 6 |
4 files changed, 31 insertions, 1 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index a90d50c2c3e5..ad20dc3128b9 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -316,6 +316,8 @@ source "drivers/mtd/nand/Kconfig" | |||
316 | 316 | ||
317 | source "drivers/mtd/onenand/Kconfig" | 317 | source "drivers/mtd/onenand/Kconfig" |
318 | 318 | ||
319 | source "drivers/mtd/lpddr/Kconfig" | ||
320 | |||
319 | source "drivers/mtd/ubi/Kconfig" | 321 | source "drivers/mtd/ubi/Kconfig" |
320 | 322 | ||
321 | endif # MTD | 323 | endif # MTD |
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 4b77335715f0..7fb3dfbb4579 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile | |||
@@ -29,6 +29,6 @@ obj-$(CONFIG_MTD_OOPS) += mtdoops.o | |||
29 | nftl-objs := nftlcore.o nftlmount.o | 29 | nftl-objs := nftlcore.o nftlmount.o |
30 | inftl-objs := inftlcore.o inftlmount.o | 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 | obj-$(CONFIG_MTD_UBI) += ubi/ | 34 | obj-$(CONFIG_MTD_UBI) += ubi/ |
diff --git a/drivers/mtd/lpddr/Kconfig b/drivers/mtd/lpddr/Kconfig new file mode 100644 index 000000000000..acd4ea9b2278 --- /dev/null +++ b/drivers/mtd/lpddr/Kconfig | |||
@@ -0,0 +1,22 @@ | |||
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 | |||
diff --git a/drivers/mtd/lpddr/Makefile b/drivers/mtd/lpddr/Makefile new file mode 100644 index 000000000000..da48e46b5812 --- /dev/null +++ b/drivers/mtd/lpddr/Makefile | |||
@@ -0,0 +1,6 @@ | |||
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 | ||