summaryrefslogtreecommitdiffstats
path: root/board/smdk2410/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/smdk2410/flash.c')
-rw-r--r--board/smdk2410/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/smdk2410/flash.c b/board/smdk2410/flash.c
index 5d04ed43d7..d7479f085f 100644
--- a/board/smdk2410/flash.c
+++ b/board/smdk2410/flash.c
@@ -313,7 +313,7 @@ volatile static int write_hword (flash_info_t *info, ulong dest, ushort data)
*/
result = *addr;
if ((result & data) != data)
- return ERR_NOT_ERASED;
+ return ERR_NOT_ERASED;
/*
@@ -366,7 +366,7 @@ volatile static int write_hword (flash_info_t *info, ulong dest, ushort data)
*addr = CMD_READ_ARRAY;
if (chip == ERR || *addr != data)
- rc = ERR_PROG_ERROR;
+ rc = ERR_PROG_ERROR;
if (iflag)
enable_interrupts();
OpenPOWER on IntegriCloud