From patchwork Sat Aug 20 13:28:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 110769 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 30E8FB6F72 for ; Sat, 20 Aug 2011 23:29:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5ECF32808A; Sat, 20 Aug 2011 15:28:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8udQ7F-j5JSO; Sat, 20 Aug 2011 15:28:57 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0CB5D2808F; Sat, 20 Aug 2011 15:28:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DC1C22808C for ; Sat, 20 Aug 2011 15:28:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZuVfjkHdK7VW for ; Sat, 20 Aug 2011 15:28:53 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTPS id 08C712808A for ; Sat, 20 Aug 2011 15:28:51 +0200 (CEST) Received: by fxe6 with SMTP id 6so2484664fxe.3 for ; Sat, 20 Aug 2011 06:28:51 -0700 (PDT) Received: by 10.223.61.148 with SMTP id t20mr784199fah.125.1313846930976; Sat, 20 Aug 2011 06:28:50 -0700 (PDT) Received: from mashiro.lan ([188.175.35.25]) by mx.google.com with ESMTPS id p3sm3403126faa.33.2011.08.20.06.28.49 (version=SSLv3 cipher=OTHER); Sat, 20 Aug 2011 06:28:50 -0700 (PDT) From: Marek Vasut To: u-boot@lists.denx.de Date: Sat, 20 Aug 2011 15:28:41 +0200 Message-Id: <1313846925-31212-1-git-send-email-marek.vasut@gmail.com> X-Mailer: git-send-email 1.7.5.4 Cc: linux@bohmer.de Subject: [U-Boot] [PATCH 1/4] PXA: Fix Lubbock, remove redundant parenthesis X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Marek Vasut --- board/lubbock/flash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); }