]> git.baikalelectronics.ru Git - kernel.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)
commit0e6019cc01cf64fcc89d33a869f852724872c5e2
treef1d66bb84b510f8ba53e232e9b5d9499a1bd20a3
parentb20bdfa2ed234cff46da14a1b6cce2d20afefe67
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