From 823989c737da94b2cfb074f31fbcdd33d8edc531 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 3 Oct 2019 00:48:06 +0200 Subject: [PATCH] The flash_id element of the Intel Flash struct is now correctly 16-bit. --- src/intel_flash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel_flash.c b/src/intel_flash.c index 1faf9aa19..4dd041a48 100644 --- a/src/intel_flash.c +++ b/src/intel_flash.c @@ -63,9 +63,11 @@ enum typedef struct flash_t { uint8_t command, status, - flash_id, flags, + pad, flags, *array; + uint16_t flash_id, pad16; + uint32_t program_addr, block_start[BLOCKS_NUM], block_end[BLOCKS_NUM], block_len[BLOCKS_NUM];