瀏覽代碼

mtd: Enable Open Firmware initialisation of MTD devices and maps for MicroBlaze

Signed-off-by: Michal Simek <monstr@monstr.eu>
John Williams 16 年之前
父節點
當前提交
c2a32f0d75
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/mtd/Kconfig
  2. 1 1
      drivers/mtd/maps/Kconfig

+ 1 - 1
drivers/mtd/Kconfig

@@ -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,

+ 1 - 1
drivers/mtd/maps/Kconfig

@@ -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