mtd: allow CONFIG_MTD_PHYSMAP_OF also for CONFIG_MTD_RAM
authorPhilippe De Muyter <phdm@macqel.be>
Wed, 5 Mar 2014 23:00:00 +0000 (00:00 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:29 +0000 (22:42 -0700)
commit670b46aa6cad88e126c5e7d0f37ed2b41693869d
tree0526f7c8c41c4e68d9cab5558ac284663040b602
parent6f7db7f3203a0bd48170807adeb53dd401d29110
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>
drivers/mtd/maps/Kconfig