summaryrefslogtreecommitdiff
path: root/board/m5282evb/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/m5282evb/flash.c')
-rw-r--r--board/m5282evb/flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/m5282evb/flash.c b/board/m5282evb/flash.c
index ff70783..95f35ad 100644
--- a/board/m5282evb/flash.c
+++ b/board/m5282evb/flash.c
@@ -256,8 +256,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;