]> git.sur5r.net Git - openocd/commitdiff
TARGET/ARM920T: fix return value
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Jun 2010 03:07:47 +0000 (11:07 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sat, 12 Jun 2010 10:08:00 +0000 (12:08 +0200)
Function arm920t_write_memory() default return value
should be ERROR_OK.
All cases of local errors are handled immediately and
not further propagated.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/arm920t.c

index 03aa233df6f5eee4a210a3ec8fbd4354937a8ec2..d7096486b8b990adf21a5a9e6b8ada7b9932f3da 100644 (file)
@@ -711,7 +711,7 @@ int arm920t_write_memory(struct target *target, uint32_t address,
                }
        }
 
-       return retval;
+       return ERROR_OK;
 }
 
 // EXPORTED to FA256