summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/cfi.c1
-rw-r--r--src/target/cortex_swjdp.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index 90d5678c..58011095 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -1600,7 +1600,6 @@ int cfi_spansion_write_words(struct flash_bank_s *bank, u8 *word, u32 wordcount,
cfi_flash_bank_t *cfi_info = bank->driver_priv;
target_t *target = bank->target;
u8 command[8];
- int sector;
cfi_spansion_pri_ext_t *pri_ext = cfi_info->pri_ext;
/* Calculate buffer size and boundary mask */
diff --git a/src/target/cortex_swjdp.c b/src/target/cortex_swjdp.c
index e368cfd8..4363dfdd 100644
--- a/src/target/cortex_swjdp.c
+++ b/src/target/cortex_swjdp.c
@@ -38,6 +38,7 @@
#include "cortex_swjdp.h"
#include "jtag.h"
#include "log.h"
+#include "time_support.h"
#include <stdlib.h>
/*