]> git.sur5r.net Git - openocd/commitdiff
- remove build warnings
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 6 Oct 2008 18:28:56 +0000 (18:28 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 6 Oct 2008 18:28:56 +0000 (18:28 +0000)
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1022 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/cfi.c
src/target/cortex_swjdp.c

index 90d5678c9c135867ebb6819f49320044e8096f6d..58011095803c99dc6fe2bf4c391bc49e8ba4e1fa 100644 (file)
@@ -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 */
index e368cfd86a19f056bcc53b96b47c46d7e0929b78..4363dfdd5b9317735ca8cf15a5cd98196c307b5c 100644 (file)
@@ -38,6 +38,7 @@
 #include "cortex_swjdp.h"
 #include "jtag.h"
 #include "log.h"
+#include "time_support.h"
 #include <stdlib.h>
 
 /*