From patchwork Mon May 27 19:57:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagannadha Sutradharudu Teki X-Patchwork-Id: 246652 X-Patchwork-Delegate: jagannadh.teki@gmail.com 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 0DCC42C02EE for ; Tue, 28 May 2013 06:13:58 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 21A284A023; Mon, 27 May 2013 22:13:52 +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 TGt4us9B6xlX; Mon, 27 May 2013 22:13:51 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3DA8F4A041; Mon, 27 May 2013 22:13:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CEC444A03F for ; Mon, 27 May 2013 22:13:17 +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 3BzcKIhgZiCJ for ; Mon, 27 May 2013 22:13:13 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe003.messaging.microsoft.com [207.46.163.26]) by theia.denx.de (Postfix) with ESMTPS id E469F4A049 for ; Mon, 27 May 2013 22:12:59 +0200 (CEST) Received: from mail200-co9-R.bigfish.com (10.236.132.244) by CO9EHSOBE001.bigfish.com (10.236.130.64) with Microsoft SMTP Server id 14.1.225.23; Mon, 27 May 2013 19:57:42 +0000 Received: from mail200-co9 (localhost [127.0.0.1]) by mail200-co9-R.bigfish.com (Postfix) with ESMTP id 05F5A88004C; Mon, 27 May 2013 19:57:42 +0000 (UTC) X-Forefront-Antispam-Report: CIP:149.199.60.83; KIP:(null); UIP:(null); IPV:NLI; H:xsj-gw1; RD:unknown-60-83.xilinx.com; EFVD:NLI X-SpamScore: 7 X-BigFish: VPS7(zzzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2fh95h668h839hd24hf0ah119dh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14ddh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1b0ah1d0ch1d2eh1d3fh906i192cn1155h) Received-SPF: pass (mail200-co9: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=jagannadha.sutradharudu-teki@xilinx.com; helo=xsj-gw1 ; helo=xsj-gw1 ; Received: from mail200-co9 (localhost.localdomain [127.0.0.1]) by mail200-co9 (MessageSwitch) id 1369684659631026_22174; Mon, 27 May 2013 19:57:39 +0000 (UTC) Received: from CO9EHSMHS027.bigfish.com (unknown [10.236.132.251]) by mail200-co9.bigfish.com (Postfix) with ESMTP id 974AC5C004E; Mon, 27 May 2013 19:57:39 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by CO9EHSMHS027.bigfish.com (10.236.130.37) with Microsoft SMTP Server id 14.1.225.23; Mon, 27 May 2013 19:57:39 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1Uh3Y3-0006VU-3U; Mon, 27 May 2013 12:57:39 -0700 From: Jagannadha Sutradharudu Teki To: Date: Tue, 28 May 2013 01:27:28 +0530 X-Mailer: git-send-email 1.7.4 In-Reply-To: <1369684648-3213-1-git-send-email-jaganna@xilinx.com> References: <1369684648-3213-1-git-send-email-jaganna@xilinx.com> X-RCIS-Action: ALLOW MIME-Version: 1.0 Message-ID: <898aecb6-130c-4101-9395-e95a98fe8ac8@CO9EHSMHS027.ehs.local> X-OriginatorOrg: xilinx.com Cc: Tom Rini , Jagannadha@theia.denx.de, Jagannadha Sutradharudu Teki Subject: [U-Boot] [PATCH 5/5] cmd_sf: Fix code cleanup X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de - line over 80 characters - add tabs Signed-off-by: Jagannadha Sutradharudu Teki --- common/cmd_sf.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index 0a17782..1daff70 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@ -468,7 +468,8 @@ static int do_spi_flash_test(int argc, char * const argv[]) } #endif /* CONFIG_CMD_SF_TEST */ -static int do_spi_flash(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_spi_flash(cmd_tbl_t *cmdtp, int flag, int argc, + char * const argv[]) { const char *cmd; int ret; @@ -524,7 +525,7 @@ U_BOOT_CMD( "SPI flash sub-system", "probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus\n" " and chip select\n" - "sf read addr offset len - read `len' bytes starting at\n" + "sf read addr offset len - read `len' bytes starting at\n" " `offset' to memory at `addr'\n" "sf write addr offset len - write `len' bytes from memory\n" " at `addr' to flash at `offset'\n"