Transform 'u16' to 'uint16_t'
[fw/openocd] / src / flash / non_cfi.h
index 3950e21b96052e9005f75fbe8fec6e916eb8b469..9944573ff8e6b9371309ce3d0d947e0c12b0d455 100644 (file)
 
 typedef struct non_cfi_s
 {
-       u16 mfr;
-       u16 id;
-       u16 pri_id;
+       uint16_t mfr;
+       uint16_t id;
+       uint16_t pri_id;
        u32 dev_size;
-       u16 interface_desc;
-       u16 max_buf_write_size;
-       u8 num_erase_regions;
+       uint16_t interface_desc;
+       uint16_t max_buf_write_size;
+       uint8_t num_erase_regions;
        u32 erase_region_info[6];
-       u8  status_poll_mask;
+       uint8_t  status_poll_mask;
 } non_cfi_t;
 
 extern non_cfi_t non_cfi_flashes[];