Extend the width of the flags variable to support the already existing
(but unused) WR_1 flag, which is above the range of 8 bits.
This allows support of EEPROM emulation which requires the WR_1 feature.
Signed-off-by: Marcin Krzeminski <[email protected]>
Reviewed-by: Peter Crosthwaite <[email protected]>
Message-id:
1458719789[email protected]
Signed-off-by: Peter Maydell <[email protected]>
uint32_t sector_size;
uint32_t n_sectors;
uint32_t page_size;
- uint8_t flags;
+ uint16_t flags;
} FlashPartInfo;
/* adapted from linux */