The flash_id element of the Intel Flash struct is now correctly 16-bit.

This commit is contained in:
OBattler
2019-10-03 00:48:06 +02:00
parent 1dca23d16c
commit 823989c737

View File

@@ -63,9 +63,11 @@ enum
typedef struct flash_t typedef struct flash_t
{ {
uint8_t command, status, uint8_t command, status,
flash_id, flags, pad, flags,
*array; *array;
uint16_t flash_id, pad16;
uint32_t program_addr, uint32_t program_addr,
block_start[BLOCKS_NUM], block_end[BLOCKS_NUM], block_start[BLOCKS_NUM], block_end[BLOCKS_NUM],
block_len[BLOCKS_NUM]; block_len[BLOCKS_NUM];