Patchwork [U-Boot,1/4] PXA: Fix Lubbock, remove redundant parenthesis

login
register
mail settings
Submitter Marek Vasut
Date Aug. 20, 2011, 1:28 p.m.
Message ID <1313846925-31212-1-git-send-email-marek.vasut@gmail.com>
Download mbox | patch
Permalink /patch/110769/
State Accepted
Commit c4f4c760c9bdbad6c4f286edfff79e34d96ec5f6
Headers show

Comments

Marek Vasut - Aug. 20, 2011, 1:28 p.m.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 board/lubbock/flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/board/lubbock/flash.c b/board/lubbock/flash.c
index 1ea2893..e1e7807 100644
--- a/board/lubbock/flash.c
+++ b/board/lubbock/flash.c
@@ -408,7 +408,7 @@  static int write_data (flash_info_t *info, ulong dest, FPW data)
 
 	/* wait while polling the status register */
 	while (((status = *addr) & (FPW) 0x00800080) != (FPW) 0x00800080) {
-		if (get_timer(start)) > CONFIG_SYS_FLASH_WRITE_TOUT) {
+		if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) {
 			*addr = (FPW) 0x00FF00FF;	/* restore read mode */
 			return (1);
 		}