From dcc7de4f9b4dfa58ed8a8712c4c146a3c83aba17 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 12 Jun 2010 11:07:47 +0800 Subject: TARGET/ARM920T: fix return value 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 --- src/target/arm920t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target') diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 03aa233d..d7096486 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -711,7 +711,7 @@ int arm920t_write_memory(struct target *target, uint32_t address, } } - return retval; + return ERROR_OK; } // EXPORTED to FA256 -- cgit v1.2.3