aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/Kconfig
diff options
context:
space:
mode:
authorMarc St-Jean <stjeanma@pmc-sierra.com>2007-03-27 01:45:41 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-04-02 14:10:58 -0400
commit68aa0fa87f6d4b2f5e8ad39ecaec8bba9137bb3d (patch)
tree0a80a878bb011dc6e808815cf08a6b9ad3453d68 /drivers/mtd/maps/Kconfig
parent9333907084da2b05db787dba3e714d0be7c84f36 (diff)
[MTD] PMC MSP71xx flash/rootfs mappings
Add flash and rootfs mappings for the PMC-Sierra MSP71xx devices. This patch references some platform support files previously submitted to the linux-mips@linux-mips.org list. Signed-off-by: Marc St-Jean <Marc_St-Jean@pmc-sierra.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/maps/Kconfig')
-rw-r--r--drivers/mtd/maps/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index bbf0553bdb2e..5e651721ddb9 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -69,6 +69,39 @@ config MTD_PHYSMAP_OF
69 physically into the CPU's memory. The mapping description here is 69 physically into the CPU's memory. The mapping description here is
70 taken from OF device tree. 70 taken from OF device tree.
71 71
72config MTD_PMC_MSP_EVM
73 tristate "CFI Flash device mapped on PMC-Sierra MSP"
74 depends on PMC_MSP && MTD_CFI
75 select MTD_PARTITIONS
76 help
77 This provides a 'mapping' driver which support the way
78 in which user-programmable flash chips are connected on the
79 PMC-Sierra MSP eval/demo boards
80
81choice
82 prompt "Maximum mappable memory avialable for flash IO"
83 depends on MTD_PMC_MSP_EVM
84 default MSP_FLASH_MAP_LIMIT_32M
85
86config MSP_FLASH_MAP_LIMIT_32M
87 bool "32M"
88
89endchoice
90
91config MSP_FLASH_MAP_LIMIT
92 hex
93 default "0x02000000"
94 depends on MSP_FLASH_MAP_LIMIT_32M
95
96config MTD_PMC_MSP_RAMROOT
97 tristate "Embedded RAM block device for root on PMC-Sierra MSP"
98 depends on PMC_MSP_EMBEDDED_ROOTFS && \
99 (MTD_BLOCK || MTD_BLOCK_RO) && \
100 MTD_RAM
101 help
102 This provides support for the embedded root file system
103 on PMC MSP devices. This memory is mapped as a MTD block device.
104
72config MTD_SUN_UFLASH 105config MTD_SUN_UFLASH
73 tristate "Sun Microsystems userflash support" 106 tristate "Sun Microsystems userflash support"
74 depends on SPARC && MTD_CFI 107 depends on SPARC && MTD_CFI