summaryrefslogtreecommitdiff
path: root/src/flash/non_cfi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/non_cfi.h')
-rw-r--r--src/flash/non_cfi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/non_cfi.h b/src/flash/non_cfi.h
index bfd6ab2d..19fef853 100644
--- a/src/flash/non_cfi.h
+++ b/src/flash/non_cfi.h
@@ -27,7 +27,7 @@ typedef struct non_cfi_s
u16 mfr;
u16 id;
u16 pri_id;
- u8 dev_size;
+ u32 dev_size;
u16 interface_desc;
u16 max_buf_write_size;
u8 num_erase_regions;
@@ -35,6 +35,6 @@ typedef struct non_cfi_s
} non_cfi_t;
extern non_cfi_t non_cfi_flashes[];
-extern void cfi_fixup_non_cfi(flash_bank_t *bank, void *param);
+extern void cfi_fixup_non_cfi(flash_bank_t *bank);
#endif /* NON_CFI_H */