Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6626559iob; Wed, 11 May 2022 01:34:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgXTezECuBjfYZM7yUxVpVvFORlTPpEjbU7bOKY4FrofdmWvces33jVUfpO2VPbEadZGcS X-Received: by 2002:a05:6402:4391:b0:427:f2f0:607b with SMTP id o17-20020a056402439100b00427f2f0607bmr27803568edc.45.1652258062701; Wed, 11 May 2022 01:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652258062; cv=none; d=google.com; s=arc-20160816; b=eocchgse26tPJX9K3N7Bci8xBIXVkRGmiu86Cz07lYEuSNFBYHXFmlGCbAB7uVXzwn cgfAvVLxf9A3kRgOIJzm45tsxGCSann5GIP3KPMx+5bZDufmqem/z3tatPuIGqRLgrga VIBhqo+msgBy3lZCjVRiqIXpifp8uMWTHF6y2U/udZMIW1aunwedJLWLHTQaAg1N3+Ed vhtr11qNClFK8TNvSIW9gOUZU6byCg9YTrNFSbpl2LxJ/xVEpo8D/54u+DPr6nYqSLMK 1VW2AKOxzH5J/pfCEDtWZn6TjOqKQW7+OmsPSyWbzsJk8nXr2vVLZA/2/m8I/2rdP4Z0 Q4bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BSLFmY5SDLO2a6rWijHN/h8R3JMfDBWKAAOVUH8T2o0=; b=UXfO8263fHeu+Lxv7uZTfiMEkHUa4mkMY8ydiSqPsjWW2EPOdoXTJGz8XQEAqv7jFq aewv37SOj848dquv3B+bN4V55ElpLJOgoGDwNqbHmHQ4NwBOsplXDhu47zl/VgytTmjt LbEWJZ6Ysnz9er8TlhmwObeLWpjNPZ3gigVIPNzmXMlVDgV8WyLFiaDBjdx8SrRla1XK gEOajqGVCVOknxUV4fWeEXNk0E9ZHvvxOcAfxsi3isvcgSAFCKMjfUzoHC0AQFE30VCB a0MFL18rpQW5wQxiLx0J2IWzzp9iA9lg864hU96MXWy+SA4dG08+F300dRz5b7gXCdjS h+7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AtAgiq8s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js7-20020a17090797c700b006f3972476b0si1780726ejc.430.2022.05.11.01.33.56; Wed, 11 May 2022 01:34:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AtAgiq8s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242119AbiEKGcK (ORCPT + 99 others); Wed, 11 May 2022 02:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242108AbiEKGcE (ORCPT ); Wed, 11 May 2022 02:32:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA8853ED19; Tue, 10 May 2022 23:32:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4F198617AA; Wed, 11 May 2022 06:32:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78774C385DB; Wed, 11 May 2022 06:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652250722; bh=R/xIMoC2sDOdXzRp4z3fCiF/cRNt3/pLSC+250ZSbdo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AtAgiq8s4WkfPFvmodrvV4U4hTO8tfnwUxbkYz3J3WNBSl7MCPJtYHTgvhOAh4ToL TEBxG0FaLR7TsktpJ3WpVavp2fNVN0oxKpAQzOP2KJeJB2T7ef7fMGIkWlcHcKvGqX s9iK1Aii1/uL4Ne+bH96ORXpI9v3wss3oD+s8ihE4a5Flwqmju+o/zgv3bA+LaD4yg W1hd/ydb2bIGq1w9jY4fkBQ072pRirW23ARBWyJVJbk2opHo+2xQSwUXM9r+N/NG3t ct5jugxxh86FM2T1vEvu1PCz/TkBUu+/1uaWnoG4G1ABihvqykiMrM2MrywxRDXB/H +vyY8cK5JqpBQ== Message-ID: <8a1acf21-94f9-fe68-0cda-6be27aa89668@kernel.org> Date: Wed, 11 May 2022 09:31:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 Content-Language: en-US To: Geert Uytterhoeven , Krzysztof Kozlowski , Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Roger Quadros In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2022 12:29, Geert Uytterhoeven wrote: > The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is > only present on TI OMAP2/3/4/5, Keystone, AM33xx, AM43x, DRA7xx, TI81xx, > and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_KEYSTONE > || ARCH_K3, to prevent asking the user about this driver when > configuring a kernel without OMAP2+, Keystone, or K3 SoC family support. > > Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable") > Signed-off-by: Geert Uytterhoeven Acked-by: Roger Quadros > --- > v2: > - Add ARCH_KEYSTONE, as requested by Roger Quadros. > --- > drivers/memory/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig > index b7800b37af78a996..ac1a411648d8656f 100644 > --- a/drivers/memory/Kconfig > +++ b/drivers/memory/Kconfig > @@ -105,6 +105,7 @@ config TI_EMIF > config OMAP_GPMC > tristate "Texas Instruments OMAP SoC GPMC driver" > depends on OF_ADDRESS > + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST > select GPIOLIB > help > This driver is for the General Purpose Memory Controller (GPMC)