X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fflash%2Fstr9xpec.h;h=1c8d41b191c25cbc8a2417b376b819c6f91fefcd;hb=c4992c6d863d0ead91d84d19bbfe1643d720b205;hp=4e34f6c7a3fafe135e5e57022128f4bf1172da54;hpb=be00c7d0c4e85fd44d8c2d71521a5181688feeb8;p=openocd.git diff --git a/src/flash/str9xpec.h b/src/flash/str9xpec.h index 4e34f6c7a3..1c8d41b191 100644 --- a/src/flash/str9xpec.h +++ b/src/flash/str9xpec.h @@ -24,17 +24,16 @@ #define STR9XPEC_H #include "flash.h" -#include "target.h" #include "jtag.h" -typedef struct str9xpec_flash_controller_s +struct str9xpec_flash_controller { - u32 *sector_bits; + struct jtag_tap *tap; + uint32_t *sector_bits; int chain_pos; int isc_enable; - jtag_device_t* devarm; - u8 options[8]; -} str9xpec_flash_controller_t; + uint8_t options[8]; +}; enum str9xpec_status_codes { @@ -78,4 +77,3 @@ enum str9xpec_status_codes #define STR9XPEC_OPT_OTPBIT 63 #endif /* STR9XPEC_H */ -