From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3247C43381 for ; Thu, 21 Feb 2019 11:19:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 783052147A for ; Thu, 21 Feb 2019 11:19:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="U4S+CQdq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="sYyPw0aG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 783052147A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tYWkBDGelvEKK6xeBZS6JE8IGKXdRIwOPXN7Fo3pQg4=; b=U4S+CQdqzksVk4 PR01fNUgZ7ADGK/t9PZH3uoQsamPTiqSEuVYpVz8ST/VMvWsLz0LZ6V0pfX/F7XTZaXRlYpfuJ7Hw 0GstRM1Vxe1ehVFQ1vRRhxEIP9p5P/diHkv4r7JOL4v6zE9xcnyZhYcFlQCy1H8c9SfyAJefr9X7g kfuOqXWWOeiHF85iZ4W1bt+oLTG7hUsEcFqjLqtWhCV5GXbMRmBVDQBlfTEfMeryl73+OZ+/H/tor KHG8TKEJkj9O+ntAQCvUuj7uqL9SiryTTcjEr7Vxzp6xFk7pJk6kdeSRSzcYWw+vePkT7udDydhVt fgU6Bmzy0kmKfhgfASww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwmNi-0005Kg-ES; Thu, 21 Feb 2019 11:19:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwmNf-0005KG-9N; Thu, 21 Feb 2019 11:19:08 +0000 Received: from localhost (unknown [91.160.177.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B7DA32084F; Thu, 21 Feb 2019 11:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550747947; bh=OFWRmPdHR9MMBor0LEiYPxs3cWI8jGhrxy11w5VI+4M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sYyPw0aGHSr5e4wIEFbPHuD3OsbdxtrBqd7kH8zyGrTeEAI4wuX97gRU794pC+cvk KjSPsKkb2NlGSKVHlDJKs4bnZ6sD2SKFDzmKvle0LIytCADcGML3iaj0UatLBDSEoH 0jCpmPMpC/E3owbQ35ftRzBpmmtYB/4icXTbJJnE= Date: Thu, 21 Feb 2019 12:19:00 +0100 From: Boris Brezillon To: Miquel Raynal Subject: Re: [RFC PATCH 05/27] mtd: nand: Move standard OOB layouts to the NAND core Message-ID: <20190221121900.19d28477@kernel.org> In-Reply-To: <20190221100216.25255-6-miquel.raynal@bootlin.com> References: <20190221100216.25255-1-miquel.raynal@bootlin.com> <20190221100216.25255-6-miquel.raynal@bootlin.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190221_031907_344457_4CBB3D72 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mason Yang , Vignesh R , Tudor Ambarus , Julien Su , Richard Weinberger , Schrempf Frieder , Marek Vasut , linux-mtd@lists.infradead.org, Thomas Petazzoni , Brian Norris , David Woodhouse , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 21 Feb 2019 11:01:54 +0100 Miquel Raynal wrote: > These OOB layouts are generic to all NAND chips, the should not be > restricted to be used only by raw NAND controller drivers. They might > later be used by generic ECC engines and SPI-NAND devices as well. > > Signed-off-by: Miquel Raynal > --- > drivers/mtd/nand/core.c | 161 ++++++++++++++++++++++++++++ Can we place those definitions in ecc.c instead of core.c > drivers/mtd/nand/raw/nand_base.c | 161 +--------------------------- > drivers/mtd/nand/raw/nand_toshiba.c | 2 + > include/linux/mtd/nand.h | 4 + > include/linux/mtd/rawnand.h | 3 - > 5 files changed, 168 insertions(+), 163 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel