1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Subject: [PATCH] Use "brcm,bcm947xx-cfe-partitions" binding for Broadcom
7 --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
8 +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
15 + compatible = "brcm,bcm947xx-cfe-partitions";
20 --- a/arch/arm/boot/dts/bcm5301x.dtsi
21 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
23 compatible = "jedec,spi-nor";
25 spi-max-frequency = <20000000>;
26 - linux,part-probe = "ofpart", "bcm47xxpart";
30 + compatible = "brcm,bcm947xx-cfe-partitions";
35 --- a/drivers/mtd/bcm47xxpart.c
36 +++ b/drivers/mtd/bcm47xxpart.c
37 @@ -314,9 +314,16 @@ static int bcm47xxpart_parse(struct mtd_
41 +static const struct of_device_id bcm47xxpart_of_match_table[] = {
42 + { .compatible = "brcm,bcm947xx-cfe-partitions" },
45 +MODULE_DEVICE_TABLE(of, bcm47xxpart_of_match_table);
47 static struct mtd_part_parser bcm47xxpart_mtd_parser = {
48 .parse_fn = bcm47xxpart_parse,
49 .name = "bcm47xxpart",
50 + .of_match_table = bcm47xxpart_of_match_table,
52 module_mtd_part_parser(bcm47xxpart_mtd_parser);