summaryrefslogtreecommitdiffstats
path: root/board/lart/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/lart/flash.c')
-rw-r--r--board/lart/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lart/flash.c b/board/lart/flash.c
index 89ab62c536..ad6134be74 100644
--- a/board/lart/flash.c
+++ b/board/lart/flash.c
@@ -317,7 +317,7 @@ int flash_erase (flash_info_t *info, int s_first, int s_last)
*addr = PUZZLE_TO_FLASH(CMD_READ_ARRAY);
if ((rc = flash_error(result)) != ERR_OK)
- goto outahere;
+ goto outahere;
printf("ok.\n");
}
@@ -358,7 +358,7 @@ volatile static int write_word (flash_info_t *info, ulong dest, ulong data)
*/
result = PUZZLE_FROM_FLASH(*addr);
if ((result & data) != data)
- return ERR_NOT_ERASED;
+ return ERR_NOT_ERASED;
/*
* Disable interrupts which might cause a timeout
OpenPOWER on IntegriCloud