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>
This commit is contained in:
@@ -32,4 +32,9 @@ struct avr_common
|
||||
struct mcu_jtag jtag_info;
|
||||
};
|
||||
|
||||
int mcu_execute_queue(void);
|
||||
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);
|
||||
|
||||
#endif /* AVRT_H */
|
||||
|
||||
Reference in New Issue
Block a user