From patchwork Thu Jun 9 17:02:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 9167487 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 3C07F604DB for ; Thu, 9 Jun 2016 17:03:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29B2428342 for ; Thu, 9 Jun 2016 17:03:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E5A528356; Thu, 9 Jun 2016 17:03:58 +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 A5E4B28342 for ; Thu, 9 Jun 2016 17:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752921AbcFIRDf (ORCPT ); Thu, 9 Jun 2016 13:03:35 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35634 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932706AbcFIRDV (ORCPT ); Thu, 9 Jun 2016 13:03:21 -0400 Received: by mail-oi0-f66.google.com with SMTP id k63so8569614oib.2; Thu, 09 Jun 2016 10:03:21 -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=QddJT5QnwC0Vz4t6aydxD3dB4YG8+JN6J2Y3u6NpPlM=; b=Vjo7jhnw/YTkHWHuzuSl1Hr5PkkiBWPo+oRdjLeQPL5nSd0ezhE7QSz88zR7Z0FUBu 9dvGwm3VdpnKWW0zT2LHKhQUm8z5KX/6R7jkALcMCvJdcQg4Ea8MP6lXfCn0SXtX22V8 Q0ns/56YKTd2WWT5nXB24fBkv17XYTL1u2XMv/FBwj6CW+RNoqr05OOe4wXD82QmgdRY wELElpNRW7J/R2XYGK+RPYVQzUvH5VDyNQsJ7TkumOLoaj7iM0O0+wdXv1xJJ1aH2Z+9 0CtvMastRxJc6gURcp75o751NrMpQPHW3Wz37w1oIMiRt5p3FAqEuioHT3Ty2OeTp0Xc 822w== X-Gm-Message-State: ALyK8tK7F9DI6eb5HY6NntqMnVL2ZuMFKsBjfFvp5AbC+LysriFBquFwC0t/C4GYtp9xnQ== X-Received: by 10.202.62.197 with SMTP id l188mr6459447oia.156.1465491801051; Thu, 09 Jun 2016 10:03:21 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jun 2016 10:03:20 -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 6/6] ARM: OMAP2+: Don't force select OMAP_GPMC Date: Thu, 9 Jun 2016 12:02:57 -0500 Message-Id: <1465491777-20033-7-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_GPMC requires CONFIG_MEMORY to be enabled. However, by forcing OMAP_GPMC to be selected dependencies are ignored. This is a problem since it means OMAP_GPMC is always enabled even when it shouldn't be. By avoiding this force selection it insures that OMAP_GPMC is only enabled when its dependencies are met. Signed-off-by: Franklin S Cooper Jr --- arch/arm/mach-omap2/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 0517f0c..dcbb4bd 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -95,7 +95,6 @@ config ARCH_OMAP2PLUS select MEMORY select MFD_SYSCON select OMAP_DM_TIMER - select OMAP_GPMC select PINCTRL select SOC_BUS select OMAP_IRQCHIP