From: Marcin Krzeminski <[email protected]> Signed-off-by: Marcin Krzeminski <[email protected]> --- hw/block/m25p80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 5e07b57..fbbfd1d 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -60,7 +60,7 @@ typedef struct FlashPartInfo {
uint32_t sector_size;
uint32_t n_sectors;
uint32_t page_size;
- uint8_t flags;
+ uint16_t flags;
} FlashPartInfo;
/* adapted from linux */
--
2.5.0
