aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Williams <john.williams@petalogix.com>2009-08-25 05:19:54 -0400
committerMichal Simek <monstr@monstr.eu>2009-09-21 08:29:20 -0400
commitc2a32f0d758273fc1caa18b9d4544abb40cd58b1 (patch)
treee075f3be140207e842699bd05b5bca6d19e1d761
parentebc79c4f8da0f92efa968e0328f32334a2ce80cf (diff)
mtd: Enable Open Firmware initialisation of MTD devices and maps for MicroBlaze
Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r--drivers/mtd/Kconfig2
-rw-r--r--drivers/mtd/maps/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index b8e35a0b4d72..bf1997fd6232 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -159,7 +159,7 @@ config MTD_AFS_PARTS
159 159
160config MTD_OF_PARTS 160config MTD_OF_PARTS
161 tristate "Flash partition map based on OF description" 161 tristate "Flash partition map based on OF description"
162 depends on PPC_OF && MTD_PARTITIONS 162 depends on (MICROBLAZE || PPC_OF) && MTD_PARTITIONS
163 help 163 help
164 This provides a partition parsing function which derives 164 This provides a partition parsing function which derives
165 the partition map from the children of the flash node, 165 the partition map from the children of the flash node,
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 7a58bd5522fd..5b82cd952567 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -74,7 +74,7 @@ config MTD_PHYSMAP_BANKWIDTH
74 74
75config MTD_PHYSMAP_OF 75config MTD_PHYSMAP_OF
76 tristate "Flash device in physical memory map based on OF description" 76 tristate "Flash device in physical memory map based on OF description"
77 depends on PPC_OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM) 77 depends on (MICROBLAZE || PPC_OF) && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
78 help 78 help
79 This provides a 'mapping' driver which allows the NOR Flash and 79 This provides a 'mapping' driver which allows the NOR Flash and
80 ROM driver code to communicate with chips which are mapped 80 ROM driver code to communicate with chips which are mapped