X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnon_cfi.h;h=ef50ae5c5a9776f35c394899f28fb80403c47a16;hp=14a6df72d7444acdb429c70a95733a448312c8e8;hb=54be77bc79ce05cd1ce4320958d8ce9d131aea09;hpb=d0dfec33b6d6844c3c1b817a464b9f040ce40087 diff --git a/src/flash/non_cfi.h b/src/flash/non_cfi.h index 14a6df72d7..ef50ae5c5a 100644 --- a/src/flash/non_cfi.h +++ b/src/flash/non_cfi.h @@ -22,7 +22,7 @@ #include "flash.h" -typedef struct non_cfi_s +struct non_cfi { uint16_t mfr; uint16_t id; @@ -33,7 +33,7 @@ typedef struct non_cfi_s uint8_t num_erase_regions; uint32_t erase_region_info[6]; uint8_t status_poll_mask; -} non_cfi_t; +}; void cfi_fixup_non_cfi(flash_bank_t *bank);