]> git.sur5r.net Git - u-boot/blobdiff - include/flash.h
rockchip: rv1108: add ofdata_to_platdata() method for driver
[u-boot] / include / flash.h
index 0eedb1efa892135071a84adccfeb1ffbdf9e1247..1a4e87900996d4f0a8ce3cd62a6798106bdcbff5 100644 (file)
@@ -42,6 +42,7 @@ 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
@@ -121,7 +122,7 @@ extern int jedec_flash_match(flash_info_t *info, ulong base);
  * return codes from flash_write():
  */
 #define ERR_OK                         0
-#define ERR_TIMOUT                     1
+#define ERR_TIMEOUT                    1
 #define ERR_NOT_ERASED                 2
 #define ERR_PROTECTED                  4
 #define ERR_INVAL                      8