From patchwork Thu Jun 9 17:02:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 9167501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CCED2604DB for ; Thu, 9 Jun 2016 17:04:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9BB128342 for ; Thu, 9 Jun 2016 17:04:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEAE728359; Thu, 9 Jun 2016 17:04:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=2.0 tests=BAYES_00,FSL_HELO_HOME, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30DEF28342 for ; Thu, 9 Jun 2016 17:04:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbcFIREb (ORCPT ); Thu, 9 Jun 2016 13:04:31 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33102 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932570AbcFIRDT (ORCPT ); Thu, 9 Jun 2016 13:03:19 -0400 Received: by mail-oi0-f68.google.com with SMTP id e205so3247318oig.0; Thu, 09 Jun 2016 10:03:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N5mBtd+gZKmwPMCf6GTfacTUFxAarBHLGgBnKlRqV5Y=; b=ErHKgiqDuHloPfprVJNYCrnwIunRN3Xd1bl4W+QtVp1cHFijhEc2sFcyqUE4WNZVol BnJkNwlc37AaiZVLBkgm78o4Cks5ViMhszmnvm+3uljiyfALyLdprd6tfioRgUChmMbP kpdf14auWF/5cmruZs4YhEpkncn3JwtQMw/ThLB5quN5fl/rBMb+EGCFZuJ95hmCkUGw JG0tTuP5VyCr7gLdpJImecVeNBltfsqYNbzEbr8a6K+fOXAxaKMoGvkvKaaE5bnWenTY AInTyL0ybzts7i/CHjFWi52VwvtIw7l6JQUN9uUta/fq24djPeWyaeX0T2bNjHE8csN6 Xg8A== X-Gm-Message-State: ALyK8tLAbXP8MsbaPBalxb8UtO62L7Hj1HXu6eEJ8Qg66xQOsi6ZP1zgBq8Npq0X2IYD8Q== X-Received: by 10.157.12.246 with SMTP id o51mr6761637otd.72.1465491798251; Thu, 09 Jun 2016 10:03:18 -0700 (PDT) Received: from beast-server.fios-router.home ([108.19.212.211]) by smtp.gmail.com with ESMTPSA id 19sm621929otu.1.2016.06.09.10.03.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jun 2016 10:03:17 -0700 (PDT) From: Franklin S Cooper Jr To: tony@atomide.com, boris.brezillon@free-electrons.com, computersforpeace@gmail.com, linux-arm-kernel@lists.infradead, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org Cc: Franklin S Cooper Jr Subject: [PATCH 4/6] mtd: nand: Add OMAP_GPMC as a dependency to MTD_NAND_OMAP2 Date: Thu, 9 Jun 2016 12:02:55 -0500 Message-Id: <1465491777-20033-5-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1465491777-20033-1-git-send-email-fcooper@ti.com> References: <1465491777-20033-1-git-send-email-fcooper@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP OMAP 2 NAND depends on the GPMC driver. Therefore, insure that the OMAP GPMC config is selected before enabling the OMAP 2 NAND driver. Signed-off-by: Franklin S Cooper Jr --- 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 f05e0e9..e24404f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -89,7 +89,7 @@ config MTD_NAND_AMS_DELTA config MTD_NAND_OMAP2 tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4" - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS && OMAP_GPMC help Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4 platforms.