X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fflash%2Fnor%2Fcfi.h;h=d92fcc0b1d85bf211d8fa003fbccb581c9629159;hb=a769be6b9c9dea7e498535eba0a0255f1e785575;hp=b587ed48213d17765ad6367458ec84c7778ed0d7;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee;p=fw%2Fopenocd diff --git a/src/flash/nor/cfi.h b/src/flash/nor/cfi.h index b587ed482..d92fcc0b1 100644 --- a/src/flash/nor/cfi.h +++ b/src/flash/nor/cfi.h @@ -143,8 +143,8 @@ struct cfi_unlock_addresses { struct cfi_fixup { uint16_t mfr; uint16_t id; - void (*fixup)(struct flash_bank *bank, void *param); - void *param; + void (*fixup)(struct flash_bank *bank, const void *param); + const void *param; }; #define CFI_MFR_AMD 0x0001