microblaze: generic: rename MTD partition set to 'flash-0'
Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
		
							parent
							
								
									3faf987de5
								
							
						
					
					
						commit
						c82a541d47
					
				| 
						 | 
					@ -260,10 +260,10 @@
 | 
				
			||||||
#define CONFIG_CMD_MTDPARTS	/* mtdparts command line support */
 | 
					#define CONFIG_CMD_MTDPARTS	/* mtdparts command line support */
 | 
				
			||||||
#define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 | 
					#define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 | 
				
			||||||
#define CONFIG_FLASH_CFI_MTD
 | 
					#define CONFIG_FLASH_CFI_MTD
 | 
				
			||||||
#define MTDIDS_DEFAULT		"nor0=ml401-0"
 | 
					#define MTDIDS_DEFAULT		"nor0=flash-0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* default mtd partition table */
 | 
					/* default mtd partition table */
 | 
				
			||||||
#define MTDPARTS_DEFAULT	"mtdparts=ml401-0:256k(u-boot),"\
 | 
					#define MTDPARTS_DEFAULT	"mtdparts=flash-0:256k(u-boot),"\
 | 
				
			||||||
				"256k(env),3m(kernel),1m(romfs),"\
 | 
									"256k(env),3m(kernel),1m(romfs),"\
 | 
				
			||||||
				"1m(cramfs),-(jffs2)"
 | 
									"1m(cramfs),-(jffs2)"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					@ -292,8 +292,8 @@
 | 
				
			||||||
#define	CONFIG_PREBOOT	"echo U-BOOT for ${hostname};setenv preboot;echo"
 | 
					#define	CONFIG_PREBOOT	"echo U-BOOT for ${hostname};setenv preboot;echo"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define	CONFIG_EXTRA_ENV_SETTINGS	"unlock=yes\0" /* hardware flash protection */\
 | 
					#define	CONFIG_EXTRA_ENV_SETTINGS	"unlock=yes\0" /* hardware flash protection */\
 | 
				
			||||||
					"nor0=ml401-0\0"\
 | 
										"nor0=flash-0\0"\
 | 
				
			||||||
					"mtdparts=mtdparts=ml401-0:"\
 | 
										"mtdparts=mtdparts=flash-0:"\
 | 
				
			||||||
					"256k(u-boot),256k(env),3m(kernel),"\
 | 
										"256k(u-boot),256k(env),3m(kernel),"\
 | 
				
			||||||
					"1m(romfs),1m(cramfs),-(jffs2)\0"
 | 
										"1m(romfs),1m(cramfs),-(jffs2)\0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue