]> git.sur5r.net Git - u-boot/blobdiff - include/flash.h
arm: mvebu: clearfog: update SPI flash DT description
[u-boot] / include / flash.h
index f53fe913496b877a5c7d1814295f34a4c0d26818..dc67cb2df61672272f2fec51a77c3a888c0c633e 100644 (file)
@@ -42,11 +42,16 @@ typedef struct {
        ushort  cfi_offset;             /* offset for cfi query                 */
        ulong   addr_unlock1;           /* unlock address 1 for AMD flash roms  */
        ulong   addr_unlock2;           /* unlock address 2 for AMD flash roms  */
+       uchar   sr_supported;           /* status register supported            */
        const char *name;               /* human-readable name                  */
 #endif
 #ifdef CONFIG_MTD
        struct mtd_info *mtd;
 #endif
+#ifdef CONFIG_CFI_FLASH                        /* DM-specific parts */
+       struct udevice *dev;
+       phys_addr_t base;
+#endif
 } flash_info_t;
 
 extern flash_info_t flash_info[]; /* info for FLASH chips      */