On Wed, 2009-04-22 at 10:05 +0200, Ricardo Ribalda Delgado wrote:
> Sometimes, an special partition is included in the device tree including all 
> the
> partitions. Like in:
> 
> partit...@ff000000 {
>       reg = < 0x000000 0x800000 >;
>       label = "Root File System";
> };
> partit...@ff800000 {
>       reg = < 0x800000 0x1a0000 >;
>       label = "Bitstream";
> };
> ...
> partition...@ff000000 {
>       reg = < 0x000000 0x1000000 >;
>       label = "Full FLASH";
> };
> 
> Because two nodes of a device tree cannot have the same name, but all the 
> partitions must be named "partition", this special partition is invalid.
> 
> This patch makes ofpart.c only check for the firt part of the name, and 
> ignore the rest, allowing this special partition.

I fail to see the point of this "special" partition in the first
place...

Things would make more sense if you had a full flash device
whose child nodes are the partitions.

Ben.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to