projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove whitespace that occurs after '('.
[fw/openocd]
/
src
/
target
/
cortex_a8.c
diff --git
a/src/target/cortex_a8.c
b/src/target/cortex_a8.c
index 5728c6aac21cd37089f369e38fe98e3c3cebcaf4..52b60eb543a2f5a561f84eeb61c3be91fa6f2edf 100644
(file)
--- a/
src/target/cortex_a8.c
+++ b/
src/target/cortex_a8.c
@@
-87,7
+87,7
@@
int cortex_a8_dcc_read(swjdp_common_t *swjdp, uint8_t *value, uint8_t *ctrl)
{
uint16_t dcrdr;
{
uint16_t dcrdr;
- mem_ap_read_buf_u16(
swjdp, (uint8_t*)&dcrdr, 1, DCB_DCRDR);
+ mem_ap_read_buf_u16(swjdp, (uint8_t*)&dcrdr, 1, DCB_DCRDR);
*ctrl = (uint8_t)dcrdr;
*value = (uint8_t)(dcrdr >> 8);
*ctrl = (uint8_t)dcrdr;
*value = (uint8_t)(dcrdr >> 8);
@@
-98,13
+98,13
@@
int cortex_a8_dcc_read(swjdp_common_t *swjdp, uint8_t *value, uint8_t *ctrl)
if (dcrdr & (1 << 0))
{
dcrdr = 0;
if (dcrdr & (1 << 0))
{
dcrdr = 0;
- mem_ap_write_buf_u16(
swjdp, (uint8_t*)&dcrdr, 1, DCB_DCRDR);
+ mem_ap_write_buf_u16(swjdp, (uint8_t*)&dcrdr, 1, DCB_DCRDR);
}
return ERROR_OK;
}
}
return ERROR_OK;
}
-int cortex_a8_read_memory(struct target_s *target, u
32 address, u32 size, u32
count, uint8_t *buffer)
+int cortex_a8_read_memory(struct target_s *target, u
int32_t address, uint32_t size, uint32_t
count, uint8_t *buffer)
{
/* get pointers to arch-specific information */
armv7m_common_t *armv7m = target->arch_info;
{
/* get pointers to arch-specific information */
armv7m_common_t *armv7m = target->arch_info;
@@
-136,7
+136,7
@@
int cortex_a8_read_memory(struct target_s *target, u32 address, u32 size, u32 co
return retval;
}
return retval;
}
-int cortex_a8_write_memory(struct target_s *target, u
32 address, u32 size, u32
count, uint8_t *buffer)
+int cortex_a8_write_memory(struct target_s *target, u
int32_t address, uint32_t size, uint32_t
count, uint8_t *buffer)
{
/* get pointers to arch-specific information */
armv7m_common_t *armv7m = target->arch_info;
{
/* get pointers to arch-specific information */
armv7m_common_t *armv7m = target->arch_info;
@@
-187,7
+187,7
@@
int cortex_a8_handle_target_request(void *priv)
/* check if we have data */
if (ctrl & (1 << 0))
{
/* check if we have data */
if (ctrl & (1 << 0))
{
- u
32
request;
+ u
int32_t
request;
/* we assume target is quick enough */
request = data;
/* we assume target is quick enough */
request = data;