Enabling mtd partitioning layout which indicate partition
for various boot partition

Signed-off-by: Chin Liang See <cl...@altera.com>
Cc: Dinh Nguyen <dingu...@opensource.altera.com>
Cc: Dinh Nguyen <dinh.li...@gmail.com>
Cc: Pavel Machek <pa...@denx.de>
Cc: Marek Vasut <ma...@denx.de>
Cc: Stefan Roese <s...@denx.de>
---
 include/configs/socfpga_mcvevk.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h
index d051eec..a176a21 100644
--- a/include/configs/socfpga_mcvevk.h
+++ b/include/configs/socfpga_mcvevk.h
@@ -134,4 +134,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_DENX_MCVEVK_H__ */
--
1.9.2.468.g3f0c02a

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to