From patchwork Thu Feb 21 00:35:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 222163 X-Patchwork-Delegate: sbabic@denx.de 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 BC7EF2C008D for ; Thu, 21 Feb 2013 11:41:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 018064A11E; Thu, 21 Feb 2013 01:41:49 +0100 (CET) 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 OkDqnEW9e04c; Thu, 21 Feb 2013 01:41:48 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 600A54A11F; Thu, 21 Feb 2013 01:41:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CCEAF4A11F for ; Thu, 21 Feb 2013 01:41:44 +0100 (CET) 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 zyA-EMIu817r for ; Thu, 21 Feb 2013 01:41:44 +0100 (CET) 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-qe0-f46.google.com (mail-qe0-f46.google.com [209.85.128.46]) by theia.denx.de (Postfix) with ESMTPS id CAAA04A11E for ; Thu, 21 Feb 2013 01:41:42 +0100 (CET) Received: by mail-qe0-f46.google.com with SMTP id 1so3971751qec.5 for ; Wed, 20 Feb 2013 16:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=GDbIBHskgXtk6DKUKrohTe0WPE/t5HDfO9pzCProK40=; b=SOYEsC/+1LM442GVyoi5YVH1V10Td0IEG5IWWWRiody1xKfTgIkhxvSl3LdUgNOSl8 dWY6xb1yAhry8KfuvT7bUG8aSD2lNjwzY6TsmrnA2kZDoR6+nespavRTeiK56urgRq9Z GQjUq8+Pc68v1/T6xIJqhGF9+QI0rmQdFptWhhVGHMC9tMH6agJm5GPv5rmn2t8+GqC3 ZVf8/EhcNkwQA5VNME+9WLXPhVRJhMgbt/xKj3InxYKYmErfkHa38o+xfupQlhsV7vcc VHsf25Mjc+gdWDeWhOpgWgMeHo5gfSCn786vne3Vbsz39O++j0+Lz+uGM7V20FJoasPz qhxQ== X-Received: by 10.49.25.102 with SMTP id b6mr10913122qeg.27.1361406949135; Wed, 20 Feb 2013 16:35:49 -0800 (PST) Received: from localhost.localdomain ([187.106.37.155]) by mx.google.com with ESMTPS id dg4sm32023913qab.7.2013.02.20.16.35.46 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Feb 2013 16:35:48 -0800 (PST) From: Fabio Estevam To: sbabic@denx.de Date: Wed, 20 Feb 2013 21:35:35 -0300 Message-Id: <1361406935-9392-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 Cc: trini@ti.com, u-boot@lists.denx.de, Fabio Estevam Subject: [U-Boot] [PATCH] common: cmd_sata: Fix usage text for 'sata init' 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Fabio Estevam Currently sata usage text prints a double 'sata' for the init command. MX53LOCO U-Boot > sata sata - SATA sub system Usage: sata sata init - init SATA sub system sata info - show available SATA devices sata device [dev] - show or set current device sata part [dev] - print partition table sata read addr blk# cnt sata write addr blk# cnt Remove the extra 'sata' from the 'sata init' line. Signed-off-by: Fabio Estevam --- common/cmd_sata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_sata.c b/common/cmd_sata.c index b401bd1..8d57285 100644 --- a/common/cmd_sata.c +++ b/common/cmd_sata.c @@ -196,7 +196,7 @@ static int do_sata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) U_BOOT_CMD( sata, 5, 1, do_sata, "SATA sub system", - "sata init - init SATA sub system\n" + "init - init SATA sub system\n" "sata info - show available SATA devices\n" "sata device [dev] - show or set current device\n" "sata part [dev] - print partition table\n"