diff options
author | Rodrigo L. Rosa <rodrigorosa.LG@gmail.com> | 2011-08-31 12:37:20 -0700 |
---|---|---|
committer | Rodrigo L. Rosa <rodrigorosa.LG@gmail.com> | 2011-08-31 15:45:55 -0700 |
commit | c4a1728a2db67cc194f625a1275e8ba985bb6749 (patch) | |
tree | bdd5d7f792255690926de481b49cb6ba5a21f633 /src/target/dsp5680xx.c | |
parent | fb164bca55ec5a1c9c70837b576e1d43426cd05b (diff) |
static for some functions
made two functions into static, since they are not required by anything external
Diffstat (limited to 'src/target/dsp5680xx.c')
-rw-r--r-- | src/target/dsp5680xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index e56861e4..ff28be1e 100644 --- a/src/target/dsp5680xx.c +++ b/src/target/dsp5680xx.c @@ -450,7 +450,7 @@ static int eonce_exit_debug_mode(struct target * target,uint8_t * eonce_status){ return retval; } -int switch_tap(struct target * target, struct jtag_tap * master_tap,struct jtag_tap * core_tap){ +static int switch_tap(struct target * target, struct jtag_tap * master_tap,struct jtag_tap * core_tap){ int retval = ERROR_OK; uint32_t instr; uint32_t ir_out;//not used, just to make jtag happy. @@ -1600,7 +1600,7 @@ int dsp5680xx_f_wr(struct target * target, uint8_t *buffer, uint32_t address, ui } // Reset state machine -int reset_jtag(void){ +static int reset_jtag(void){ int retval; tap_state_t states[2]; const char *cp = "RESET"; |