X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fmflash.h;h=1b54307c0c45ae04d7d06d83217f0985c88863f6;hp=04eb99a9bc2b89397a9706af35e7a35bf09a4b00;hb=ca594adb5a71f2bf60c1380172b8e61b075d9479;hpb=1840226d555b9863a2315bcc6218671fdfa2af32 diff --git a/src/flash/mflash.h b/src/flash/mflash.h index 04eb99a9bc..1b54307c0c 100644 --- a/src/flash/mflash.h +++ b/src/flash/mflash.h @@ -141,8 +141,8 @@ typedef struct mflash_bank_s mg_drv_info_t *drv_info; } mflash_bank_t; -extern int mflash_register_commands(struct command_context_s *cmd_ctx); -extern int mflash_init_drivers(struct command_context_s *cmd_ctx); +int mflash_register_commands(struct command_context_s *cmd_ctx); +int mflash_init_drivers(struct command_context_s *cmd_ctx); #define MG_MFLASH_SECTOR_SIZE (0x200) /* 512Bytes = 2^9 */ #define MG_MFLASH_SECTOR_SIZE_MASK (0x200-1) @@ -294,7 +294,7 @@ typedef enum _mg_vcmd typedef enum _mg_opmode { mg_op_mode_xip = 1, /* TRUE XIP */ - mg_op_mode_snd = 2, /* BOOT+Storage */ + mg_op_mode_snd = 2, /* BOOT + Storage */ mg_op_mode_stg = 0 /* Only Storage */ } mg_opmode;