From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Sat, 12 Dec 2015 08:01:00 +0800 Subject: [U-Boot] [PATCH 3/6] arm: socfpga: de0-nano-soc: Enabling mtd partitioning layout In-Reply-To: <201512111836.57608.marex@denx.de> References: <1449825353-2568-1-git-send-email-clsee@altera.com> <201512111521.58098.marex@denx.de> <566AEF17.5030305@kernel.org> <201512111836.57608.marex@denx.de> Message-ID: <1449878460.2601.11.camel@altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2015-12-11 at 18:36 +0100, Marek Vasut wrote: > On Friday, December 11, 2015 at 04:43:19 PM, Dinh Nguyen wrote: > > On 12/11/2015 08:21 AM, Marek Vasut wrote: > > > On Friday, December 11, 2015 at 10:15:50 AM, Chin Liang See > > > wrote: > > > > Enabling mtd partitioning layout which indicate partition > > > > for various boot partition > > > > > > > > Signed-off-by: Chin Liang See > > > > Cc: Dinh Nguyen > > > > Cc: Dinh Nguyen > > > > Cc: Pavel Machek > > > > Cc: Marek Vasut > > > > Cc: Stefan Roese > > > > --- > > > > > > > > include/configs/socfpga_de0_nano_soc.h | 12 ++++++++++++ > > > > 1 file changed, 12 insertions(+) > > > > > > > > diff --git a/include/configs/socfpga_de0_nano_soc.h > > > > b/include/configs/socfpga_de0_nano_soc.h index 16e146c..c42175d > > > > 100644 > > > > --- a/include/configs/socfpga_de0_nano_soc.h > > > > +++ b/include/configs/socfpga_de0_nano_soc.h > > > > @@ -86,4 +86,16 @@ > > > > > > > > /* The rest of the configuration is shared */ > > > > #include > > > > > > > > +/* mtd partitioning for serial NOR flash */ > > > > +#if defined(CONFIG_CMD_UBI) || defined(CONFIG_CMD_SF) > > > > +#define MTDPARTS_DEFAULT "mtdparts=ff705000.spi:"\ > > > > + "256k(spl)," \ > > > > + "64k(env)," \ > > > > + "64k(dtb)," \ > > > > + "256k(boot)," \ > > > > + "16m(kernel)," > > > > \ > > > > + "16m(rootfs)," > > > > \ > > > > + "-(UBI)\0" > > > > +#endif > > > > > > Does Atlas have a dedicated QSPI NOR ? > > > > No, it does not. > > Do you now understand why I have every single mainline SoCFPGA board > in my > collection and why I am eagerly waiting for my first Arria 10 project > ? :) > We can always arrange a board for you. Let me work out the arrangement then. Thanks Chin Liang > Best regards, > Marek Vasut