]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/flash.h
mtd: cfi: Zap cfi_flash_base in DM case
[people/ms/u-boot.git] / include / flash.h
index f53fe913496b877a5c7d1814295f34a4c0d26818..0eedb1efa892135071a84adccfeb1ffbdf9e1247 100644 (file)
@@ -47,6 +47,10 @@ typedef struct {
 #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      */