aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2014-03-05 18:00:00 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-03-11 01:42:29 -0400
commit670b46aa6cad88e126c5e7d0f37ed2b41693869d (patch)
tree0526f7c8c41c4e68d9cab5558ac284663040b602
parent6f7db7f3203a0bd48170807adeb53dd401d29110 (diff)
mtd: allow CONFIG_MTD_PHYSMAP_OF also for CONFIG_MTD_RAM
Up to now mtd-ram devices described in device trees were only accessible if mtd-flash or mtd-rom were also configured at linux configuration time, because MTD_PHYSMAP_OF was only available if (MTD_CFI || MTD_JEDECPROBE || MTD_ROM). Allow MTD_PHYSMAP_OF selection also when only MTD_RAM is set. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r--drivers/mtd/maps/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 179c6e124701..fce23fe043f7 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -66,11 +66,11 @@ config MTD_PHYSMAP_BANKWIDTH
66 used internally by the CFI drivers. 66 used internally by the CFI drivers.
67 67
68config MTD_PHYSMAP_OF 68config MTD_PHYSMAP_OF
69 tristate "Flash device in physical memory map based on OF description" 69 tristate "Memory device in physical memory map based on OF description"
70 depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM) 70 depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_RAM)
71 help 71 help
72 This provides a 'mapping' driver which allows the NOR Flash and 72 This provides a 'mapping' driver which allows the NOR Flash, ROM
73 ROM driver code to communicate with chips which are mapped 73 and RAM driver code to communicate with chips which are mapped
74 physically into the CPU's memory. The mapping description here is 74 physically into the CPU's memory. The mapping description here is
75 taken from OF device tree. 75 taken from OF device tree.
76 76