mtd: ofpart: add of_match_table with "fixed-partitions"
This allows using this parser with any flash driver that takes care of setting of_node (using mtd_set_of_node helper) correctly. Up to now support for "fixed-partitions" DT compatibility string was working only with flash drivers that were specifying "ofpart" (manually or by letting mtd use the default set of parsers). This matches existing bindings documentation. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Reviewed-by: NBrian Norris <computersforpeace@gmail.com> Tested-by: NBrian Norris <computersforpeace@gmail.com> Reviewed-by: NRichard Weinberger <richard@nod.at> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
Showing
想要评论请 注册 或 登录