From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Fri, 11 Dec 2015 17:15:48 +0800 Subject: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout Message-ID: <1449825353-2568-1-git-send-email-clsee@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 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_cyclone5_socdk.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h index 67bb35f..e4a1657 100644 --- a/include/configs/socfpga_cyclone5_socdk.h +++ b/include/configs/socfpga_cyclone5_socdk.h @@ -96,4 +96,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 + #endif /* __CONFIG_SOCFPGA_CYCLONE5_H__ */ -- 1.9.2.468.g3f0c02a