+#define CONFIG_SYS_MAX_NAND_DEVICE 1
+
+/* Dynamic MTD partition support */
+#define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define MTDIDS_DEFAULT "nand0=tegra_nand"
+#define MTDPARTS_DEFAULT "mtdparts=tegra_nand:" \
+ "2m(u-boot)ro," \
+ "1m(u-boot-env)," \
+ "1m(cfgblock)ro," \
+ "-(ubi)"