rename CEIL as DIV_ROUND_UP
[fw/openocd] / src / flash / str9xpec.h
index 250e251b5b8ac6c8b770df04b52346c9b53c0537..1c8d41b191c25cbc8a2417b376b819c6f91fefcd 100644 (file)
 #include "flash.h"
 #include "jtag.h"
 
-typedef struct str9xpec_flash_controller_s
+struct str9xpec_flash_controller
 {
-       jtag_tap_t *tap;
-       u32 *sector_bits;
+       struct jtag_tap *tap;
+       uint32_t *sector_bits;
        int chain_pos;
        int isc_enable;
-       u8 options[8];
-} str9xpec_flash_controller_t;
+       uint8_t options[8];
+};
 
 enum str9xpec_status_codes
 {