aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2008-01-15 17:54:43 -0600
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-03 18:06:48 +1100
commit9a310d21196f38f6ad0ad146057548653e495c09 (patch)
treeea623f5d0f8712bd300e6bebf5695a3e124cb9cb /drivers/mtd/Kconfig
parentc0d2a48a65a8fc286aa84871cfc20d8c10dbf492 (diff)
downloadkernel_goldelico_gta04-9a310d21196f38f6ad0ad146057548653e495c09.zip
kernel_goldelico_gta04-9a310d21196f38f6ad0ad146057548653e495c09.tar.gz
kernel_goldelico_gta04-9a310d21196f38f6ad0ad146057548653e495c09.tar.bz2
[MTD] Factor out OF partition support from the NOR driver.
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 661eac0..e850334 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -150,6 +150,14 @@ config MTD_AFS_PARTS
for your particular device. It won't happen automatically. The
'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
+config MTD_OF_PARTS
+ tristate "Flash partition map based on OF description"
+ depends on PPC_OF && MTD_PARTITIONS
+ help
+ This provides a partition parsing function which derives
+ the partition map from the children of the flash node,
+ as described in Documentation/powerpc/booting-without-of.txt.
+
comment "User Modules And Translation Layers"
config MTD_CHAR