diff options
Diffstat (limited to 'board/shannon/flash.c')
-rw-r--r-- | board/shannon/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/shannon/flash.c b/board/shannon/flash.c index c340fea52ca..74f5f6929bc 100644 --- a/board/shannon/flash.c +++ b/board/shannon/flash.c @@ -327,7 +327,7 @@ volatile static int write_word (flash_info_t *info, ulong dest, ulong data) */ result = *addr; if ((result & data) != data) - return ERR_NOT_ERASED; + return ERR_NOT_ERASED; /* @@ -393,7 +393,7 @@ volatile static int write_word (flash_info_t *info, ulong dest, ulong data) *addr = CMD_READ_ARRAY; if (chip1 == ERR || chip2 == ERR || *addr != data) - rc = ERR_PROG_ERROR; + rc = ERR_PROG_ERROR; if (iflag) enable_interrupts(); |