Added cfi_query_identification_string_t structure.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@231 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent 1591fc581c
commit 7c6c412420

@ -55,6 +55,15 @@
#define ALT_VENDOR_ID_OFFSET 0x17
#define ALT_VENDOR_TABLE_ADR_OFFSET 0x19
#if LANGUAGE == C
typedef struct cfi_query_identification_string_t {
uint16_t pri_id_code;
void *pri_vendor_tbl;
uint16_t alt_id_code;
void *alt_vendor_tbl;
} cfi_query_identification_string_t;
#endif /* LANGUAGE == C */
/* Algorithm command set & control interface ID codes - see Table 1 in [2] */
#define CFI_VENDOR_NULL 0x0000
@ -135,10 +144,9 @@ struct cfi_erase_block_region_t {
#if LANGUAGE == C
typedef struct cfi_query_structure_t {
cfi_query_identification_string_t identification_string;
cfi_query_system_interface_information_t system_interface_info;
cfi_device_geometry_t device_geometry;
void *pri_vendor_tbl;
void *alt_vendor_tbl;
} cfi_query_structure_t;
#endif /* LANGUAGE == C */

Loading…
Cancel
Save