Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have the same name v3

2009-04-28 Thread Segher Boessenkool
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... f...@f

Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have the same name v3

2009-04-27 Thread Benjamin Krill
>--- a/drivers/mtd/ofpart.c >+++ b/drivers/mtd/ofpart.c >@@ -48,7 +48,9 @@ int __devinit of_mtd_parse_partitions(struct device *dev, > > /* check if this is a partition node */ > partname = of_get_property(pp, "name", &len); >- if (strcmp(partname, "partiti

[PATCH] [MTD] ofpart: Partitions at same address cannot have the same name v3

2009-04-24 Thread Ricardo Ribalda Delgado
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... f...@ff00