aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGareth McMullin2013-06-17 15:53:32 +1200
committerGareth McMullin2013-06-17 15:53:32 +1200
commit8c877d6dfa5aff2b70ce2c96ef6314bcae7a25c2 (patch)
treeedb96d39d96f3969796d54fa09ccca4827318395 /src/include
parent2d63dd4b5b01df2406cda71ee1fb08968b14fd0a (diff)
Fix trailing whitespace everywhere.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/adiv5.h4
-rw-r--r--src/include/jtagtap.h6
-rw-r--r--src/include/target.h12
3 files changed, 11 insertions, 11 deletions
diff --git a/src/include/adiv5.h b/src/include/adiv5.h
index d2d4be0..1bfb5a1 100644
--- a/src/include/adiv5.h
+++ b/src/include/adiv5.h
@@ -111,7 +111,7 @@ typedef struct ADIv5_DP_s {
uint32_t (*error)(struct ADIv5_DP_s *dp);
- uint32_t (*low_access)(struct ADIv5_DP_s *dp, uint8_t APnDP, uint8_t RnW,
+ uint32_t (*low_access)(struct ADIv5_DP_s *dp, uint8_t APnDP, uint8_t RnW,
uint8_t addr, uint32_t value);
union {
@@ -135,7 +135,7 @@ static inline uint32_t adiv5_dp_error(ADIv5_DP_t *dp)
return dp->error(dp);
}
-static inline uint32_t adiv5_dp_low_access(struct ADIv5_DP_s *dp, uint8_t APnDP,
+static inline uint32_t adiv5_dp_low_access(struct ADIv5_DP_s *dp, uint8_t APnDP,
uint8_t RnW, uint8_t addr, uint32_t value)
{
return dp->low_access(dp, APnDP, RnW, addr, value);
diff --git a/src/include/jtagtap.h b/src/include/jtagtap.h
index f0588a0..fd13f2b 100644
--- a/src/include/jtagtap.h
+++ b/src/include/jtagtap.h
@@ -44,9 +44,9 @@ void jtagtap_tms_seq(uint32_t MS, int ticks);
void jtagtap_tdi_tdo_seq(uint8_t *DO, const uint8_t final_tms, const uint8_t *DI, int ticks);
void jtagtap_tdi_seq(const uint8_t final_tms, const uint8_t *DI, int ticks);
/* Shift out a sequence on MS and DI, capture data to DO.
- * - This is not endian safe: First byte will always be first shifted out.
- * - DO may be NULL to ignore captured data.
- * - DO may be point to the same address as DI.
+ * - This is not endian safe: First byte will always be first shifted out.
+ * - DO may be NULL to ignore captured data.
+ * - DO may be point to the same address as DI.
*/
/* generic soft reset: 1, 1, 1, 1, 1, 0 */
diff --git a/src/include/target.h b/src/include/target.h
index b83a2e9..574a0eb 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -34,7 +34,7 @@ typedef struct target_s target;
* targets, or because of a communication failure. The target data may
* be assumed to be intact, but the communication medium may not be available,
* so access methods shouldn't be called.
- *
+ *
* The callback is installed by target_attach() and only removed by attaching
* with a different callback. It remains intact after target_detach().
*/
@@ -131,14 +131,14 @@ struct target_s {
int (*check_error)(struct target_s *target);
/* Memory access functions */
- int (*mem_read_words)(struct target_s *target, uint32_t *dest, uint32_t src,
+ int (*mem_read_words)(struct target_s *target, uint32_t *dest, uint32_t src,
int len);
- int (*mem_write_words)(struct target_s *target, uint32_t dest,
+ int (*mem_write_words)(struct target_s *target, uint32_t dest,
const uint32_t *src, int len);
- int (*mem_read_bytes)(struct target_s *target, uint8_t *dest, uint32_t src,
+ int (*mem_read_bytes)(struct target_s *target, uint8_t *dest, uint32_t src,
int len);
- int (*mem_write_bytes)(struct target_s *target, uint32_t dest,
+ int (*mem_write_bytes)(struct target_s *target, uint32_t dest,
const uint8_t *src, int len);
/* Register access functions */
@@ -172,7 +172,7 @@ struct target_s {
/* Flash memory access functions */
const char *xml_mem_map;
int (*flash_erase)(struct target_s *target, uint32_t addr, int len);
- int (*flash_write)(struct target_s *target, uint32_t dest,
+ int (*flash_write)(struct target_s *target, uint32_t dest,
const uint8_t *src, int len);
/* Host I/O support */