Re: [PATCH 8/9] Add configurability via devicetree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15:34 Wed 10 Jul     , Sascha Hauer wrote:
> On Wed, Jul 10, 2013 at 09:17:03PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > 
> > > +Required properties:
> > > +
> > > +- compatible: should be "barebox,partition"
> > > +- device-path: should contain a nodepath to the physical device for which
> > > +               this device provides a partitioning
> > > +- #address-cells, #size-cells: number of cells for size/addresses in the
> > > +                               partitions
> > > +
> > > +Partition properties:
> > > +
> > > +- reg: The partition's offset and size
> > > +- label: The label/name for this partition
> > > +- read-only: if present, the partition is read-only
> > > +
> > > +Example:
> > > +
> > > +nor-partitions {
> > > +	compatible = "barebox,partition";
> > > +	device-path = &flash;
> > > +	#address-cells = <1>;
> > > +	#size-cells = <1>;
> > > +
> > > +	partition@0 {
> > > +		label = "barebox";
> > > +		reg = <0x0 0x80000>;
> > > +	};
> > > +
> > > +	partition@1 {
> > > +		label = "barebox-environment";
> > > +		reg = <0x80000 0x80000>;
> > > +	};
> > > +};
> > 
> > This is duplicate with the mtd partition, isn't?
> 
> It's the same binding, yes.

I do not like to duplicate the information can de avoid this

Best Regards,
J.
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux