mtd: physmap_of: Add non-obsolete map_rom probe
authorAaron Sierra <asierra@xes-inc.com>
Wed, 17 Sep 2014 18:08:28 +0000 (13:08 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 22 Sep 2014 17:13:13 +0000 (10:13 -0700)
commite5bffb59cfbb3371ff00a165a5a48c1f3fdf125a
tree3c7f6d2207538c72571587e13b51957ec1616830
parent9b07a8d1ab85ccacaceb9f704c361119348aabab
mtd: physmap_of: Add non-obsolete map_rom probe

Previously, the only way to map a NOR device as a simple ROM was to
use the obsolete "direct-mapped" compatible binding (which further
requires device_type = "nor" and probe-type = "NOR" properties).

This patch adds an "mtd-rom" compatible binding to the "map_rom"
probe type.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/mtd-physmap.txt
drivers/mtd/maps/physmap_of.c