]> git.sur5r.net Git - openocd/blobdiff - src/flash/cfi.h
Eliminate MixedCaps symbol from public JTAG TAP API:
[openocd] / src / flash / cfi.h
index 5eab7efdd9bf47a1e6938a880a17c66952b3736a..49fbad49777b192a1f51be369a9b8f2fa4b2d367 100644 (file)
 #define CFI_H
 
 #include "flash.h"
-#include "target.h"
+
+#define CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7 0xE0 /* DQ5..DQ7 */
+#define CFI_STATUS_POLL_MASK_DQ6_DQ7     0xC0 /* DQ6..DQ7 */
 
 typedef struct cfi_flash_bank_s
 {
        working_area_t *write_algorithm;
 
-
        int x16_as_x8;
        int jedec_probe;
        int not_cfi;
@@ -58,6 +59,8 @@ typedef struct cfi_flash_bank_s
        u8 block_erase_timeout_max;
        u8 chip_erase_timeout_max;
 
+       u8 status_poll_mask;
+
        /* flash geometry */
        u32 dev_size;
        u16 interface_desc;