Message ID | 20180202214424.12471-1-stefan@agner.ch |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=agner.ch header.i=@agner.ch header.b="Eq1rvYu3"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zY9Vr4q0Tz9s75 for <incoming@patchwork.ozlabs.org>; Sat, 3 Feb 2018 08:44:36 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 35217C21E68; Fri, 2 Feb 2018 21:44:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C796FC21CB6; Fri, 2 Feb 2018 21:44:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5BE89C21D9F; Fri, 2 Feb 2018 21:44:28 +0000 (UTC) Received: from mail.kmu-office.ch (mail.kmu-office.ch [178.209.48.109]) by lists.denx.de (Postfix) with ESMTPS id 0AFABC21C3F for <u-boot@lists.denx.de>; Fri, 2 Feb 2018 21:44:28 +0000 (UTC) Received: from trochilidae.lan (unknown [IPv6:2001:1620:c6e::127]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 4E8A35C52FE; Fri, 2 Feb 2018 22:37:11 +0100 (CET) From: Stefan Agner <stefan@agner.ch> To: u-boot@lists.denx.de, Stefano Babic <sbabic@denx.de>, oss@buserror.net Date: Fri, 2 Feb 2018 22:44:18 +0100 Message-Id: <20180202214424.12471-1-stefan@agner.ch> X-Mailer: git-send-email 2.16.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1517607431; bh=uFpwzmV4wV/pNQl4YLCqk82aqa6B8hbSL6w9d8Q/eJM=; h=From:To:Cc:Subject:Date:Message-Id; b=Eq1rvYu3LZeE7hjeQFKYlpbpiDa4SmLgLAI/gkyuztjL/3FOjqUkbphhpG0Z+g82BHFY5VXL+m/NmUHthIPk+TAFlVkAQ8ltQx2iwrNXKUiiKBmGPhulRxdThbj9pL+GZKMlQl2/dOEZeU283vo13tNyRc50Oxo0bsalXv9Mv64= Cc: marex@denx.de, Stefan Agner <stefan.agner@toradex.com>, Marcel Ziswiler <marcel.ziswiler@toradex.com>, Max Krummenacher <max.krummenacher@toradex.com> Subject: [U-Boot] [PATCH v2 0/6] mtd: nand: mxs_nand: improve ECC support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
mtd: nand: mxs_nand: improve ECC support
|
expand
|
From: Stefan Agner <stefan.agner@toradex.com> This patchset reworks the drivers ECC calculation to align more with the Linux driver gpmi-nand.c. It aims to implements minimal ECC support as supported by the NAND chip. The first three patches are of preparational nature, I hope that especially the first two can go in soonish to avoid conflicts. -- Stefan Changes in v2: - Extend the patchset with "Convert CONFIG_NAND_MXS to Kconfig" patch - Extend the patchset with "report correct ECC parameters" patch Stefan Agner (6): Convert CONFIG_NAND_MXS to Kconfig mtd: nand: mxs_nand: use self init mtd: nand: mxs_nand: allow to enable BBT support mtd: nand: mxs_nand: use structure for BCH geometry mtd: nand: mxs_nand: report correct ECC parameters mtd: nand: mxs_nand: add minimal ECC support configs/apx4devkit_defconfig | 3 +- configs/aristainetos2_defconfig | 3 +- configs/aristainetos2b_defconfig | 3 +- configs/aristainetos_defconfig | 3 +- configs/cm_fx6_defconfig | 11 +- configs/colibri_imx7_defconfig | 3 +- configs/gwventana_nand_defconfig | 3 +- configs/m28evk_defconfig | 3 +- configs/mx28evk_auart_console_defconfig | 3 +- configs/mx28evk_defconfig | 3 +- configs/mx28evk_nand_defconfig | 3 +- configs/mx28evk_spi_defconfig | 3 +- configs/mx6sabreauto_defconfig | 3 +- configs/mx6sxsabreauto_defconfig | 3 +- configs/pcm058_defconfig | 3 +- configs/pfla02_defconfig | 3 + configs/platinum_picon_defconfig | 3 +- configs/platinum_titanium_defconfig | 3 +- configs/titanium_defconfig | 3 +- drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/mxs_nand.c | 282 +++++++++++++++++++------------- include/configs/aristainetos-common.h | 1 - include/configs/cm_fx6.h | 1 - include/configs/colibri_imx7.h | 2 - include/configs/gw_ventana.h | 1 - include/configs/mx6sabreauto.h | 1 - include/configs/mx6sxsabreauto.h | 1 - include/configs/mxs.h | 1 - include/configs/pcm058.h | 1 - include/configs/pfla02.h | 1 - include/configs/platinum.h | 1 - include/configs/titanium.h | 1 - 32 files changed, 219 insertions(+), 149 deletions(-)