X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Focl.c;h=e2099a1191a41d8fe780a0da960b13cedb7fb95c;hp=8f2a54456c836ed08f8f08659227c71b8b9ef46b;hb=fbcb57baf842a84898dcc1cbe9a8b56d2a0028e1;hpb=0bba832713cca8e5931d5d21f37f526d0a3979cf diff --git a/src/flash/ocl.c b/src/flash/ocl.c index 8f2a54456c..e2099a1191 100644 --- a/src/flash/ocl.c +++ b/src/flash/ocl.c @@ -21,21 +21,10 @@ #include "config.h" #endif -#include "replacements.h" - #include "ocl.h" - #include "flash.h" -#include "target.h" -#include "log.h" -#include "binarybuffer.h" -#include "types.h" #include "embeddedice.h" -#include "arm7_9_common.h" -#include -#include -#include static int ocl_register_commands(struct command_context_s *cmd_ctx); static int ocl_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct flash_bank_s *bank); @@ -66,8 +55,8 @@ flash_driver_t ocl_flash = typedef struct ocl_priv_s { arm_jtag_t *jtag_info; - int buflen; - int bufalign; + unsigned int buflen; + unsigned int bufalign; } ocl_priv_t; static int ocl_register_commands(struct command_context_s *cmd_ctx)