mtd: Enable Open Firmware initialisation of MTD devices and maps for MicroBlaze
authorJohn Williams <john.williams@petalogix.com>
Tue, 25 Aug 2009 09:19:54 +0000 (19:19 +1000)
committerMichal Simek <monstr@monstr.eu>
Mon, 21 Sep 2009 12:29:20 +0000 (14:29 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/mtd/Kconfig
drivers/mtd/maps/Kconfig

index b8e35a0..bf1997f 100644 (file)
@@ -159,7 +159,7 @@ config MTD_AFS_PARTS
 
 config MTD_OF_PARTS
        tristate "Flash partition map based on OF description"
-       depends on PPC_OF && MTD_PARTITIONS
+       depends on (MICROBLAZE || PPC_OF) && MTD_PARTITIONS
        help
          This provides a partition parsing function which derives
          the partition map from the children of the flash node,
index 7a58bd5..5b82cd9 100644 (file)
@@ -74,7 +74,7 @@ config MTD_PHYSMAP_BANKWIDTH
 
 config MTD_PHYSMAP_OF
        tristate "Flash device in physical memory map based on OF description"
-       depends on PPC_OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
+       depends on (MICROBLAZE || PPC_OF) && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
        help
          This provides a 'mapping' driver which allows the NOR Flash and
          ROM driver code to communicate with chips which are mapped