diff options
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -166,6 +166,13 @@ struct flashrom_flashctx; #define flashctx flashrom_flashctx /* TODO: Agree on a name and convert all occurences. */ typedef int (erasefunc_t)(struct flashctx *flash, unsigned int addr, unsigned int blocklen); +enum flash_reg { + INVALID_REG = 0, + STATUS1, + STATUS2, + MAX_REGISTERS +}; + struct flashchip { const char *vendor; const char *name; |