]> git.sur5r.net Git - openocd/blobdiff - src/flash/avrf.h
nand_flash_controller_t -> struct nand_flash_controller
[openocd] / src / flash / avrf.h
index 12ef8bdb659ca9c63b6b6221d0822547dfbd9d34..e75d9d7eb60d9f7b570e295ec30dcdc36432791f 100644 (file)
 
 #include "types.h"
 
-typedef struct avrf_type_s
+struct avrf_type
 {
        char name[15];
-       u16 chip_id;
+       uint16_t chip_id;
        int flash_page_size;
        int flash_page_num;
        int eeprom_page_size;
        int eeprom_page_num;
-} avrf_type_t;
+};
 
-typedef struct avrf_flash_bank_s
+struct avrf_flash_bank
 {
        int ppage_size;
        int probed;
-} avrf_flash_bank_t;
+};
 
 #endif /* AVRF_H */