From patchwork Tue Jan 30 13:23:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 867491 X-Patchwork-Delegate: boris.brezillon@free-electrons.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ATsYSRwa"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zW6XQ4jMzz9s4s for ; Wed, 31 Jan 2018 00:23:50 +1100 (AEDT) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=eDh6eUkJcbXZZEmcMn6ziWhbe2fjOBTYA2qNMXiRaQY=; b=ATs YSRwasVhLKCrvLUprqW4eYIAJVaRAxV+1puZrI5ziOcEV0mq0NFqfqO5lDBCNvL4VcrKXnGMkcZGP yuPYgAzxhqdJJ634c34KmuOvTRgJ4r6NCa/PD9kAfe5Tg9lvz0np2pngRl+J6nq4EbrEfDqn0D7rJ V4bAPUODj91BC03yQZ7AjMmY5I+ULT4jxHs8UirW2JVWSBi7AZhPIccIvvfN+oXMEmz5gtNS4P+1h oJk9N3QFQlJC5s554PIKdVPqKg9rMmPonBF83eIeGLfuVTh8spxnFeFMRwo9oYD5H6mJYeRtayukl b2253KjEDZgydbpgdby7vfjJqz0KSxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egVt3-0006yH-RM; Tue, 30 Jan 2018 13:23:45 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egVsz-0006xp-VL for linux-mtd@lists.infradead.org; Tue, 30 Jan 2018 13:23:43 +0000 Received: from ayla.of.borg ([84.194.104.20]) by michel.telenet-ops.be with bizsmtp id 4dPN1x00K0SRDqC06dPN5Z; Tue, 30 Jan 2018 14:23:22 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1egVsg-0002m6-9r; Tue, 30 Jan 2018 14:23:22 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1egVsg-0003rK-8q; Tue, 30 Jan 2018 14:23:22 +0100 From: Geert Uytterhoeven To: Miquel Raynal , Boris Brezillon Subject: [PATCH] mtd: nand: MTD_NAND_MARVELL should depend on HAS_DMA Date: Tue, 30 Jan 2018 14:23:21 +0100 Message-Id: <1517318601-14793-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 2.7.4 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a02:1800:110:4:0:0:f00:18 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/mtd/nand/marvell_nand.ko] undefined! Add a dependency on HAS_DMA to fix this. Fixes: 02f26ecf8c772751 ("mtd: nand: add reworked Marvell NAND controller driver") Signed-off-by: Geert Uytterhoeven Acked-by: Miquel Raynal --- drivers/mtd/nand/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index e6b8c59f2c0da7c0..736ac887303c88ba 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -328,7 +328,7 @@ config MTD_NAND_MARVELL tristate "NAND controller support on Marvell boards" depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \ COMPILE_TEST - depends on HAS_IOMEM + depends on HAS_IOMEM && HAS_DMA help This enables the NAND flash controller driver for Marvell boards, including: