From patchwork Mon Mar 25 16:13:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 230751 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 987622C0099 for ; Tue, 26 Mar 2013 03:14:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 775AF4A04F; Mon, 25 Mar 2013 17:14:34 +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 HnBZRIoAUeIz; Mon, 25 Mar 2013 17:14:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A2D54A03F; Mon, 25 Mar 2013 17:14:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DC4664A03F for ; Mon, 25 Mar 2013 17:14:26 +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 2Y7WQuwRG3Vd for ; Mon, 25 Mar 2013 17:14:23 +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-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by theia.denx.de (Postfix) with ESMTPS id 7C1254A036 for ; Mon, 25 Mar 2013 17:14:21 +0100 (CET) Received: by mail-wi0-f177.google.com with SMTP id hm14so6887314wib.10 for ; Mon, 25 Mar 2013 09:14:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=dBBfOUP1+Yn78oNKexdtD4dxJOFqr3JNbDKjqAg8SrM=; b=krRuUQu1V63ew6rl6h0BPguOZt+lqn61BlsFwGfhvSiyOZNOc2cFfBkEZRkBgyCgjD Dih/oOPJhkX+g+7/6qzjG3xyxsP+vG3o4tfjvrGF+7Yk6c8LU8+GZmszInLJ2riX8V8h HS4sM6TQUPglaphNbN5Y1r9Ti5u8gjPpmUWO9mel03mDMDm7UZmoJqil3+5lNyFA7saF UAKWbBCbj9MlQL5U4c2TRV77f+75xn6F7yQYDMTW4lkQou+7HuHoCeOTxEA3zYXLJ56d LC6RZVp9v7/IGuocSEDiChwd7xOCzveAhXWGr/083z4q0GS1MoQ1a0pVelEeouu7Jsiy yoAQ== X-Received: by 10.180.76.84 with SMTP id i20mr18755095wiw.9.1364228059988; Mon, 25 Mar 2013 09:14:19 -0700 (PDT) Received: from localhost.localdomain (148.143.21.95.dynamic.jazztel.es. [95.21.143.148]) by mx.google.com with ESMTPS id er1sm20612786wib.5.2013.03.25.09.14.15 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 25 Mar 2013 09:14:19 -0700 (PDT) From: Javier Martinez Canillas To: Jason Liu Date: Mon, 25 Mar 2013 17:13:57 +0100 Message-Id: <1364228037-21962-1-git-send-email-javier.martinez@collabora.co.uk> X-Mailer: git-send-email 1.7.7.6 X-Gm-Message-State: ALoCoQm7iMzlvnPPWZHxBNrE9vBsziTdhFDea/tXBNGgLCWCwE305iVSgoF4XFvf6Ypiznt0GNPn Cc: fabio.estevam@freescale.com, u-boot@lists.denx.de, Javier Martinez Canillas Subject: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command 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 since commit "c1173bd0: sf command: allow default bus and chip selects" the chip-select and bus arguments for the sf probe command are optional. Even when passing the chip-select to sf probe says to be optional, it makes "sf erase" and "sf write" to fail on a mx6qsabrelite board. e.g: MX6QSABRELITE U-Boot > sf probe 1 MX6QSABRELITE U-Boot > sf erase 0 0x40000 SPI flash erase failed MX6QSABRELITE U-Boot > sf write 0x10800000 0 0x40000 SPI flash write failed But just using "sf probe" works well. So, update the mx6qsabrelite README so the commands will work on current U-Boot. Signed-off-by: Javier Martinez Canillas --- board/freescale/mx6qsabrelite/README | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx6qsabrelite/README b/board/freescale/mx6qsabrelite/README index 6f2f534..324b116 100644 --- a/board/freescale/mx6qsabrelite/README +++ b/board/freescale/mx6qsabrelite/README @@ -40,7 +40,7 @@ enter the following commands: MX6Q SABRELITE U-Boot > mmc dev 0 MX6Q SABRELITE U-Boot > mmc read 0x10800000 0 200 - MX6Q SABRELITE U-Boot > sf probe 1 + MX6Q SABRELITE U-Boot > sf probe MX6Q SABRELITE U-Boot > sf erase 0 0x40000 MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000