X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcfi.h;h=d92fcc0b1d85bf211d8fa003fbccb581c9629159;hb=513436a17accbe5494f763055124be594bef0a45;hp=1a647f6fa602c5d119a5391f5c0f815d2f3d77cd;hpb=4da4e1cfb7d93dcedc333c11c787b83b8baf7dfa;p=openocd.git diff --git a/src/flash/nor/cfi.h b/src/flash/nor/cfi.h index 1a647f6fa6..d92fcc0b1d 100644 --- a/src/flash/nor/cfi.h +++ b/src/flash/nor/cfi.h @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifndef 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