From patchwork Wed Dec 18 19:43:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 303029 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 D4C622C0090 for ; Thu, 19 Dec 2013 06:42:47 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6CB424AAB3; Wed, 18 Dec 2013 20:42:46 +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 4S78jY3Gb5AC; Wed, 18 Dec 2013 20:42:46 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 127C84AAB6; Wed, 18 Dec 2013 20:42:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A55A4AAB6 for ; Wed, 18 Dec 2013 20:42:36 +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 yjTxPada8QPs for ; Wed, 18 Dec 2013 20:42:30 +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-f47.google.com (mail-qe0-f47.google.com [209.85.128.47]) by theia.denx.de (Postfix) with ESMTPS id 5C0054AAB3 for ; Wed, 18 Dec 2013 20:42:23 +0100 (CET) Received: by mail-qe0-f47.google.com with SMTP id t7so114701qeb.20 for ; Wed, 18 Dec 2013 11:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=qBHAWoKkyNYiRZrNjV2UOT69yuAGf4YtzEnEyTPJYAY=; b=sNplabQ6W6O0Q5sin0rSPlgJ02pUqE/AMCe81OQevntTfrw2r9xzEYIM2yxAPylouy D0HX08tuC0jVHWJOCYx29oWbxg/M994E6BsvZbecaqTLOHEuY00Ta0xduF51zusALdwJ 9yoCU0J0XENWUvGNYNy8s9ImA49OOr2SaVjKdz1jko/je3DA/4PAOHM07dn96om8VwYD GAiVAI0yS0syPFxWGtoXW9EDwLiwGhckEqwxItn+AUXIWPMAX9bDH+TH/0ZshRu786Xz r8uKG0XtaPbgTiOYUsbCUyi6sbKpcPp4G+lIGiKQnCfcZO53xLEKeZLWY+FDljokfhfq hqsQ== X-Received: by 10.224.50.137 with SMTP id z9mr55671277qaf.45.1387395742758; Wed, 18 Dec 2013 11:42:22 -0800 (PST) Received: from localhost.localdomain (cpe-174-106-216-211.ec.res.rr.com. [174.106.216.211]) by mx.google.com with ESMTPSA id o10sm2807067qaa.6.2013.12.18.11.42.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Dec 2013 11:42:21 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Date: Wed, 18 Dec 2013 14:43:08 -0500 Message-Id: <1387395788-30990-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Cc: Scott Wood Subject: [U-Boot] [PATCH] cam_enc_4xx: Set CONFIG_SYS_NAND_MAX_OOBFREE / CONFIG_SYS_NAND_MAX_ECCPOS 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 With the changes to make OOBFREE/ECCPOS configurable but default to larger, we need to set these config options for the space savings they provide. Cc: Scott Wood Cc: Heiko Schocher Signed-off-by: Tom Rini --- include/configs/cam_enc_4xx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/cam_enc_4xx.h b/include/configs/cam_enc_4xx.h index c1042ae..8182a75 100644 --- a/include/configs/cam_enc_4xx.h +++ b/include/configs/cam_enc_4xx.h @@ -236,6 +236,8 @@ #define CONFIG_SYS_NAND_BAD_BLOCK_POS 0 #define CONFIG_SYS_NAND_ECCSIZE 0x200 #define CONFIG_SYS_NAND_ECCBYTES 10 +#define CONFIG_SYS_NAND_MAX_OOBFREE 2 +#define CONFIG_SYS_NAND_MAX_ECCPOS 56 #define CONFIG_SYS_NAND_OOBSIZE 64 #define CONFIG_SYS_NAND_5_ADDR_CYCLE