From patchwork Mon Jul 8 16:15:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 257572 X-Patchwork-Delegate: trini@ti.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 48EE52C02ED for ; Tue, 9 Jul 2013 02:16:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0AFA44A14F; Mon, 8 Jul 2013 18:16:20 +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 7e1jaVvC1MHD; Mon, 8 Jul 2013 18:16:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 776954A16C; Mon, 8 Jul 2013 18:15:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02B984A13A for ; Mon, 8 Jul 2013 18:15:40 +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 SUUYMTTXZyjD for ; Mon, 8 Jul 2013 18:15:35 +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-ye0-f169.google.com (mail-ye0-f169.google.com [209.85.213.169]) by theia.denx.de (Postfix) with ESMTPS id 094214A13D for ; Mon, 8 Jul 2013 18:15:24 +0200 (CEST) Received: by mail-ye0-f169.google.com with SMTP id m1so1693948yen.28 for ; Mon, 08 Jul 2013 09:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=euSWpl0TPOFwq6m6hu4qK1GFdrUSxfHNvrNslctIOhY=; b=MxFSLSanofxYtEg2BusWIJeUf7X02RzynFqIh7x5DCSzXe3Gi0jNssdUR/ClOHiI6Y INdyAGTKZS3MiYMdKJcCsHUvtel2KaVeS8CMRGc+N2MUag1qA03aLRjYLzbLAgMVnu6T KAvxiLp+ORZ8AMEzd0oPZ1kDUludzY+LIDczE3QrEndimJNCHnNUP7D5N5jP9448F9o6 9MtXMfQBNWFrk7c2sAQJ2cfhalT8lqKg7wkmVfiyv4Y/MflWraM94GcQRVFrVcxZc99o 8vRahQLN0fdu/UA0d4/4d/gWXwkI4o0t4qDrEsAfAPZKgSRuYfTs60P5pAtlkwmUeCqv cokg== X-Received: by 10.236.83.110 with SMTP id p74mr12464972yhe.194.1373300123297; Mon, 08 Jul 2013 09:15:23 -0700 (PDT) Received: from localhost.localdomain (cpe-065-184-250-089.ec.res.rr.com. [65.184.250.89]) by mx.google.com with ESMTPSA id o1sm38039389yho.2.2013.07.08.09.15.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Jul 2013 09:15:22 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Mon, 8 Jul 2013 12:15:17 -0400 Message-Id: <1373300118-27306-5-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1373300118-27306-1-git-send-email-trini@ti.com> References: <1373300118-27306-1-git-send-email-trini@ti.com> Subject: [U-Boot] [PATCH v2 4/5] am335x_evm: Correct CONFIG_CMD_SPL_WRITE_SIZE 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 We use CONFIG_CMD_SPL_WRITE_SIZE when reading/writing the args portion of falcon mode to NAND. Previously it was half the size of the eraseblock which is too small, increase to eraseblock size. Signed-off-by: Tom Rini --- include/configs/am335x_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index d60f732..0f12c75 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -344,7 +344,7 @@ /* nand */ #define CONFIG_CMD_SPL_NAND_OFS 0x240000 /* end of u-boot */ #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000 -#define CONFIG_CMD_SPL_WRITE_SIZE 0x1000 +#define CONFIG_CMD_SPL_WRITE_SIZE 0x2000 /* spl export command */ #define CONFIG_CMD_SPL