Re: [PATCH 4/4] socfpga: Find partition with environment via device tree

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

 



On Thu, 2015-12-17 at 11:07 +0100, Sascha Hauer wrote:
> >  / {
> > +	chosen {
> > +		environment@0 {
> > +			compatible = "barebox,environment";
> > +			device-path = &mmc, "partname:1";
> > +			file-path = "barebox.env";
> > +		};
> > +	};
> > +
> 
> I applied this series as is. We might have to move this to the board dts
> files later as putting this into the SoC dtsi file does not allow the
> boards to put the environment somewhere else. That was not possible
> before this patch either, so this doesn't change much at the moment.

It's possible to change in the board dts by adding a
"/chosen/environment@0" node to the dts with whatever properties should
be overridden from the dtsi file's values.  Like how status = "disabled"
in dtsi is changed to status = "okay" in the board file.  I do this for
my board as "partname:1" isn't correct for me.
_______________________________________________
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