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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 51E0AC83000 for ; Wed, 29 Apr 2020 22:33:30 +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 120112076B for ; Wed, 29 Apr 2020 22:33:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jKfaYoep" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 120112076B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com 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:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GzMx8RIi/THSU8SUG78gEnWeB9FrFGq9TdvpngA1HKg=; b=jKfaYoepyhrnK1 d+l5hFQEfRKastRbzv9wMmIsubIGXpQW6Hf6PlUuXeaRL63lZ4xK2U3bW5WgpKrCf1Xu/7BbHpTNz t2SbFuDsE4t7Xv5kz2iXmeE3SquLwP5apQsXN+7qfG28lCp5+H4Vabu+IF+eiGW+SeBajllyA2xP6 +sXiMIZZJlAkfxXj0dMP41DoVz3akkT09u3R3ORGxbGntj+Hzc7YigNeZz/Mv6el9U6ETWH630SC+ t9I0nwhzJSbc40/FXEOtbU+m345VnSS/AtyKhpTP+jcbPu+akofHDlL8xWo0vkdQCFd2E2Q4Hsz3x 5FjilqWkbzPQejtPIB0Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTvGf-0005hn-Fh; Wed, 29 Apr 2020 22:33:25 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTvFL-0004Tb-Ot; Wed, 29 Apr 2020 22:32:06 +0000 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2c:6930:b93f:9fae:b276:a89a]) (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 A4B5F2A1735; Wed, 29 Apr 2020 23:31:58 +0100 (BST) From: Boris Brezillon To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Miquel Raynal , linux-mtd@lists.infradead.org Subject: [PATCH 0/3] mtd: rawnand: Get rid of the cmx270 driver Date: Thu, 30 Apr 2020 00:31:31 +0200 Message-Id: <20200429223134.789322-1-boris.brezillon@collabora.com> X-Mailer: git-send-email 2.25.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200429_153203_944458_CDA86974 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Arnd Bergmann , Tudor Ambarus , Richard Weinberger , Boris Brezillon , Mike Rapoport , 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 Hello, As part of my attempt to convert all NAND drivers to exec_op() I noticed the cmx270 board didn't really deserve a custom driver since other boards using the same SoC (em-x270 to name one) are using the gen_nand driver. I think the only issue with the CM-X270 is that the chip is connected to D[16:23] (or D[16:31] if it's a 16bit bus). Adjusting the mem resource offset should do the trick. I hope someone still has a board to test that. Regards, Boris Boris Brezillon (3): ARM: pxa: cm-x270: Use gen_nand to expose the NAND device ARM: pxa: Stop selecting CONFIG_MTD_NAND_CM_X270 mtd: rawnand: Remove the cmx270 NAND controller driver arch/arm/configs/cm_x2xx_defconfig | 1 - arch/arm/configs/pxa_defconfig | 1 - arch/arm/mach-pxa/cm-x270.c | 131 ++++++++++++++++ drivers/mtd/nand/raw/Kconfig | 4 - drivers/mtd/nand/raw/Makefile | 1 - drivers/mtd/nand/raw/cmx270_nand.c | 236 ----------------------------- 6 files changed, 131 insertions(+), 243 deletions(-) delete mode 100644 drivers/mtd/nand/raw/cmx270_nand.c -- 2.25.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel