Message ID | 1449825353-2568-6-git-send-email-clsee@altera.com |
---|---|
State | Deferred |
Delegated to: | Marek Vasut |
Headers | show |
On Friday, December 11, 2015 at 10:15:53 AM, Chin Liang See wrote: > Enabling mtd partitioning layout which indicate partition > for various boot partition > > Signed-off-by: Chin Liang See <clsee@altera.com> > Cc: Dinh Nguyen <dinguyen@opensource.altera.com> > Cc: Dinh Nguyen <dinh.linux@gmail.com> > Cc: Pavel Machek <pavel@denx.de> > Cc: Marek Vasut <marex@denx.de> > Cc: Stefan Roese <sr@denx.de> > --- > include/configs/socfpga_socrates.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/include/configs/socfpga_socrates.h > b/include/configs/socfpga_socrates.h index 16a2a86..7b48afa 100644 > --- a/include/configs/socfpga_socrates.h > +++ b/include/configs/socfpga_socrates.h > @@ -92,4 +92,16 @@ > /* The rest of the configuration is shared */ > #include <configs/socfpga_common.h> > > +/* 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 DTTO Best regards, Marek Vasut
diff --git a/include/configs/socfpga_socrates.h b/include/configs/socfpga_socrates.h index 16a2a86..7b48afa 100644 --- a/include/configs/socfpga_socrates.h +++ b/include/configs/socfpga_socrates.h @@ -92,4 +92,16 @@ /* The rest of the configuration is shared */ #include <configs/socfpga_common.h> +/* 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 + #endif /* __CONFIG_SOCFPGA_SOCRATES_H__ */
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Dinh Nguyen <dinh.linux@gmail.com> Cc: Pavel Machek <pavel@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> --- include/configs/socfpga_socrates.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 1.9.2.468.g3f0c02a