[PATCH 19/22] ARM: dts: phycard-i.MX27: Add environment and NAND partitioning
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 20 04:50:41 EST 2014
On Fri, Jan 17, 2014 at 08:20:33PM +0400, Alexander Shiyan wrote:
> Пятница, 17 января 2014, 16:03 +01:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> > arch/arm/dts/imx27-phytec-phycard-s-som.dts | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> >
> > diff --git a/arch/arm/dts/imx27-phytec-phycard-s-som.dts b/arch/arm/dts/imx27-phytec-phycard-s-som.dts
> > index c0341da..eba6240 100644
> > --- a/arch/arm/dts/imx27-phytec-phycard-s-som.dts
> > +++ b/arch/arm/dts/imx27-phytec-phycard-s-som.dts
> > @@ -19,6 +19,11 @@
> >
> > chosen {
> > linux,stdout-path = &uart1;
> > +
> > + environment at 0 {
> > + compatible = "barebox,environment";
> > + device-path = &nfc, "partname:barebox-environment";
> > + };
> > };
> >
> > memory {
> > @@ -74,4 +79,24 @@
> > nand-ecc-mode = "hw";
> > nand-on-flash-bbt;
> > status = "okay";
> > +
> > + partition at 0 {
> > + label = "barebox";
> > + reg = <0x0 0x80000>;
> > + };
> > +
> > + partition at 1 {
> > + label = "barebox-environment";
> > + reg = <0x80000 0x80000>;
> > + };
>
> I would suggest names "boot" and "env".
> This will be transparent to other bootloaders and will
> not cause criticism if the change will go into the kernel.
Ok, good idea.
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 |
More information about the barebox
mailing list