summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-06-20 12:52:07 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-06-21 22:14:17 +0800
commitdecd417064b63c8eda69ad523a63fefd22036d16 (patch)
tree0621abb91e4464f84136bc4edd4886b8962b8cb0 /src/flash/nor
parentd26b5236bac524ca33799f2c10f40f65755bdd08 (diff)
downloadopenocd_libswd-decd417064b63c8eda69ad523a63fefd22036d16.tar.gz
openocd_libswd-decd417064b63c8eda69ad523a63fefd22036d16.tar.bz2
openocd_libswd-decd417064b63c8eda69ad523a63fefd22036d16.tar.xz
openocd_libswd-decd417064b63c8eda69ad523a63fefd22036d16.zip
target/avr: review scope of symbols
Add "static" qualifier to private functions. Move duplicated global declarations from "target/avrt.c" and "nor/avrf.c" to "target/avrt.h". Remove unused declarations form "nor/avrf.c". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/avrf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c
index 8472d836..4dc7c239 100644
--- a/src/flash/nor/avrf.c
+++ b/src/flash/nor/avrf.c
@@ -59,19 +59,6 @@ static struct avrf_type avft_chips_info[] =
{"at90can128", 0x9781, 256, 512, 8, 512},
};
-int avr_jtag_sendinstr(struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out);
-int avr_jtag_senddat(struct jtag_tap *tap, uint32_t *dr_in, uint32_t dr_out, int len);
-
-int mcu_write_ir(struct jtag_tap *tap, uint8_t *ir_in, uint8_t *ir_out, int ir_len, int rti);
-int mcu_write_dr(struct jtag_tap *tap, uint8_t *ir_in, uint8_t *ir_out, int dr_len, int rti);
-int mcu_write_ir_u8(struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out, int ir_len, int rti);
-int mcu_write_dr_u8(struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out, int dr_len, int rti);
-int mcu_write_ir_u16(struct jtag_tap *tap, uint16_t *ir_in, uint16_t ir_out, int ir_len, int rti);
-int mcu_write_dr_u16(struct jtag_tap *tap, uint16_t *ir_in, uint16_t ir_out, int dr_len, int rti);
-int mcu_write_ir_u32(struct jtag_tap *tap, uint32_t *ir_in, uint32_t ir_out, int ir_len, int rti);
-int mcu_write_dr_u32(struct jtag_tap *tap, uint32_t *ir_in, uint32_t ir_out, int dr_len, int rti);
-int mcu_execute_queue(void);
-
/* avr program functions */
static int avr_jtag_reset(struct avr_common *avr, uint32_t reset)
{