]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: extend physmap_of to let the device tree specify the parition probe
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tue, 9 Mar 2010 19:27:56 +0000 (12:27 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 13 May 2010 23:32:30 +0000 (00:32 +0100)
commit9d5da3a9b849cf42fc165e90b1d39e2fd1e199a8
treef1d66bb84b510f8ba53e232e9b5d9499a1bd20a3
parent2bfefa4c9632fb09bfe3277cf7b690818b147654
mtd: extend physmap_of to let the device tree specify the parition probe

This is to support custom partitioning schemes for embedded PPC. To use
define your own mtd_part_parser and then add something like:
   linux,part-probe = "my_probe", "cmdlinepart";
To the board's dts file.

If linux,part-probe is not specified then this behaves the same as before.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap_of.c