]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/flash.h
dm: implement a MTD uclass
[people/ms/u-boot.git] / include / flash.h
index 5754cf97737c1b5658327c3f521408cacec78b9e..13e03842c84b2c0733af57a4c9ad23dce709fe6c 100644 (file)
@@ -41,6 +41,9 @@ typedef struct {
        ulong   addr_unlock2;           /* unlock address 2 for AMD flash roms  */
        const char *name;               /* human-readable name                  */
 #endif
+#ifdef CONFIG_MTD
+       struct mtd_info *mtd;
+#endif
 } flash_info_t;
 
 extern flash_info_t flash_info[]; /* info for FLASH chips      */