summaryrefslogtreecommitdiff
path: root/board/cobra5272/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cobra5272/flash.c')
-rw-r--r--board/cobra5272/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c
index 6f5874a..82452e2 100644
--- a/board/cobra5272/flash.c
+++ b/board/cobra5272/flash.c
@@ -65,6 +65,7 @@ void flash_print_info (flash_info_t * info)
printf ("\n");
Done:
+ return;
}
@@ -256,8 +257,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return rc;
}
-
-volatile static int write_word (flash_info_t * info, ulong dest, ulong data)
+static int write_word (flash_info_t * info, ulong dest, ulong data)
{
volatile u16 *addr = (volatile u16 *) dest;
ulong result;