X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fmflash.h;h=bb3cd05ba86c05d3b8ce4bb35f86995d733f9874;hp=ed4a2cddf5d2ffeb2c15a9ed9f2e7facbcb0b3d9;hb=f5ae179519d578169b4123af89eebf667efa1e2c;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34 diff --git a/src/flash/mflash.h b/src/flash/mflash.h index ed4a2cddf5..bb3cd05ba8 100644 --- a/src/flash/mflash.h +++ b/src/flash/mflash.h @@ -20,7 +20,7 @@ #ifndef _MFLASH_H #define _MFLASH_H -#include "target.h" +struct command_context; typedef unsigned long mg_io_uint32; typedef unsigned short mg_io_uint16; @@ -142,7 +142,6 @@ struct mflash_bank }; int mflash_register_commands(struct command_context *cmd_ctx); -int mflash_init_drivers(struct command_context *cmd_ctx); #define MG_MFLASH_SECTOR_SIZE (0x200) /* 512Bytes = 2^9 */ #define MG_MFLASH_SECTOR_SIZE_MASK (0x200-1)