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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 8CE93C433EF for ; Thu, 23 Sep 2021 06:42:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69B866109E for ; Thu, 23 Sep 2021 06:42:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239448AbhIWGoZ (ORCPT ); Thu, 23 Sep 2021 02:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239370AbhIWGoX (ORCPT ); Thu, 23 Sep 2021 02:44:23 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A464FC061574 for ; Wed, 22 Sep 2021 23:42:52 -0700 (PDT) Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 6C5851F4121C; Thu, 23 Sep 2021 07:42:49 +0100 (BST) Date: Thu, 23 Sep 2021 08:42:44 +0200 From: Boris Brezillon To: CGEL Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Patrice Chotard , Christophe Kerello , Mark Brown , Daniel Palmer , Alexander Lobakin , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Ren Xiaohui Subject: Re: [PATCH] mtd: spinand: add merge-two-spinand function Message-ID: <20210923084244.54a6a899@collabora.com> In-Reply-To: <20210923015241.248910-1-ren.xiaohui@zte.com.cn> References: <20210923015241.248910-1-ren.xiaohui@zte.com.cn> Organization: Collabora X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 23 Sep 2021 01:52:41 +0000 CGEL wrote: > From: Ren Xiaohui > > Combine the two SPI NAND flash in the MTD layer Just had a quick look, but it looks like you're re-implementing mtdconcat. Maybe you should just extend mtdconcat to cover your use cases.