aboutsummaryrefslogtreecommitdiff
path: root/src/flash/ocl
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/ocl')
-rw-r--r--src/flash/ocl/at91sam7x/dcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/ocl/at91sam7x/dcc.c b/src/flash/ocl/at91sam7x/dcc.c
index a697659..aa695fb 100644
--- a/src/flash/ocl/at91sam7x/dcc.c
+++ b/src/flash/ocl/at91sam7x/dcc.c
@@ -26,10 +26,10 @@ uint32 dcc_rd(void)
volatile uint32 dcc_reg;
do {
- asm volatile ("mrc p14, 0, %0, C0, C0" : "=r" (dcc_reg) : );
+ asm volatile ("mrc p14, 0, %0, C0, C0" : "=r" (dcc_reg) :);
} while ((dcc_reg&1) == 0);
- asm volatile ("mrc p14, 0, %0, C1, C0" : "=r" (dcc_reg) : );
+ asm volatile ("mrc p14, 0, %0, C1, C0" : "=r" (dcc_reg) :);
return dcc_reg;
}
@@ -40,7 +40,7 @@ int dcc_wr(uint32 data)
volatile uint32 dcc_reg;
do {
- asm volatile ("mrc p14, 0, %0, C0, C0" : "=r" (dcc_reg) : );
+ asm volatile ("mrc p14, 0, %0, C0, C0" : "=r" (dcc_reg) :);
/* operation controled by master, cancel operation
upon reception of data for immediate response */
if (dcc_reg&1) return -1;