[PATCH 3/3] ARM: dts: socfpga: Enable QSPI on the Cyclone5 sockit
Steffen Trumtrar
s.trumtrar at pengutronix.de
Wed Oct 26 00:22:36 PDT 2016
Hi!
On Tue, Oct 25, 2016 at 10:38:10AM -0500, Graham Moore wrote:
> On 10/20/2016 09:12 AM, Dinh Nguyen wrote:
> >
> >
> > On 10/20/2016 02:19 AM, Steffen Trumtrar wrote:
> >
> > > > + cdns,tslch-ns = <4>;
> > > > +
> > > > + partition at qspi-boot {
> > > > + /* 8MB for raw data. */
> > > > + label = "Flash 0 Raw Data";
> > > > + reg = <0x0 0x800000>;
> > > > + };
> > > > +
> > > > + partition at qspi-rootfs {
> > > > + /* 120MB for jffs2 data. */
> > > > + label = "Flash 0 jffs2 Filesystem";
> > > > + reg = <0x800000 0x7800000>;
> > > > + };
> > > > + };
> > > > +};
> > > > +
> > >
> > > What is the current preferred way of handling the partitions?
> > > This doesn't fit my Sockit configuration for example. So I would always
> > > have to patch the devicetree.
> >
> > I'm not 100% sure on this. Graham, do you have any insight?
> > >
>
> Well, strictly speaking, these partitions are only for the socdk, the Altera
> dev kit. Our sample designs and file systems expect this layout.
The thing is, that I don't think these partitions belong in a mainline
dts at all. But I'm not sure what the current policy is.
>
> Therefore, these partitions are not required for any other dev kits, and can
> probably be left out.
>
> Or, Steffen, if you have a standard layout you'd like to see, then put that
> in there.
>
Well in my case, it actually doesn't really matter. All the boards
I use do not have u-boot as bootloader but barebox. And barebox uses
devicetree fixups for adding the partition layout that fits the
particular use case. All other partitions are thrown out.
I don't know if u-boot does something like this.
Regards,
Steffen
--
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 linux-arm-kernel
mailing list