]> git.sur5r.net Git - openocd/blobdiff - src/flash/str9xpec.h
stm32x_options_t -> struct stm32x_options
[openocd] / src / flash / str9xpec.h
index de19b625d5be06116d445f0bd278f63576d466d5..ff3b6d9a29ae485a77c3378c4a907810c4893ac6 100644 (file)
 #define STR9XPEC_H
 
 #include "flash.h"
-#include "target.h"
 #include "jtag.h"
 
 typedef struct str9xpec_flash_controller_s
 {
-       jtag_tap_t *tap;
-       u32 *sector_bits;
+       struct jtag_tap *tap;
+       uint32_t *sector_bits;
        int chain_pos;
        int isc_enable;
-       u8 options[8];
+       uint8_t options[8];
 } str9xpec_flash_controller_t;
 
 enum str9xpec_status_codes
@@ -78,4 +77,3 @@ enum str9xpec_status_codes
 #define STR9XPEC_OPT_OTPBIT                    63
 
 #endif /* STR9XPEC_H */
-