From 8bde7f776c77b343aca29b8c7b58464d915ac245 Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 27 Jun 2003 21:31:46 +0000 Subject: * Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen) --- board/shannon/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/shannon/flash.c') diff --git a/board/shannon/flash.c b/board/shannon/flash.c index c340fea..74f5f69 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(); -- cgit v1.1