Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5015090iob; Mon, 9 May 2022 06:59:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ0CYr7uht+S8Uyd99I7BSLNKZDe2TlTZCMNIr5EQp0gCemDyO7TdIvUtPzt2G7EDjvhWi X-Received: by 2002:a63:570f:0:b0:3c1:eb3f:9db0 with SMTP id l15-20020a63570f000000b003c1eb3f9db0mr13390962pgb.467.1652104785213; Mon, 09 May 2022 06:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652104785; cv=none; d=google.com; s=arc-20160816; b=zx15PqRW7X7pBR9wLwVwq6HNa4t3mqITCd974NgY3dgSJnaX4BsmPoR+WeN1T97UhK pSQyfvX7NnDsWESCmeb4XzTkf/3As4JvZwjc5IVdJFaKJCIHZ/kuGAWqJ37WG9CddkkE TFnmAnniWyqvczfV29/qIgDmv4jzgcaJYq+okBDbu2Ig4yhNt7lbxN+Eq2fu8WqNLWkE 78rDHcFg7K4WwcqYj141YngK2ifwg6flSDAJNlKaoifTo5uF/CqUk+Kw5nVxiNiocgw0 h563zyoXvvvaa99BhZPdAKIIpDzuDPA7oqiJi8loUUCm0cuu0uwSzraK0fz2h/B1xN2+ hUBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UxzsODI4rIsQOLurPsyyvPdgJsjcH5UeomxeN949mt0=; b=dRQB2IqLzbRW1qTYqSXMzlI4F9sv+aSuP/s00BLRX12bmZGaIkBI2ep29f7WFrnv2q oZ3EUQ/ZyPfOvEMRSUHoeiX429QUbek7RNwwixAw08Z6cD7uZlmn8tDwETPROzoI7yiz fRMDAuZMvgWOqlpN8+msdWzaV1vBKf8j4dW4XNQ07CUQKtTSlJd0MsgLRZ8GE+OPwCcW 9R4gCh5tPRR4ghtHO1QzxdRYvzkP5ATICbNwPN9V8ID9CS0+iTMooHNx/gvliKCJdTFg cMPqMA1ZvNMSoRHWaFcNJr2R1hb1eSkoXJC5s30Yxp9MDoW9EVLEkrkQZzboRZSIZVKK p77Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f17-20020a170902ce9100b00156a2cedc79si11704083plg.529.2022.05.09.06.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 06:59:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 335C22CDD2; Mon, 9 May 2022 06:48:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236426AbiEINwj (ORCPT + 99 others); Mon, 9 May 2022 09:52:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236398AbiEINwg (ORCPT ); Mon, 9 May 2022 09:52:36 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DA81C964E for ; Mon, 9 May 2022 06:48:42 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:8886:2b92:63eb:2922]) by michel.telenet-ops.be with bizsmtp id Udob2700B0moLbn06dob56; Mon, 09 May 2022 15:48:40 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1no3kZ-003Xmr-3S; Mon, 09 May 2022 15:48:35 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1no3kY-003NFe-HA; Mon, 09 May 2022 15:48:34 +0200 From: Geert Uytterhoeven To: Krzysztof Kozlowski , Roger Quadros Cc: Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_K3 Date: Mon, 9 May 2022 15:48:33 +0200 Message-Id: <2b7d411b4a7913335082c858cb0d63b9e4bf7c5b.1652103920.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is only present on TI OMAP2/3/4/5, AM33xx, AM43x, DRA7xx, TI81xx, and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_K3, to prevent asking the user about this driver when configuring a kernel without OMAP2+ or K3 SoC family support. Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable") Signed-off-by: Geert Uytterhoeven --- drivers/memory/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index b7800b37af78a996..f00757912e2e4c1e 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_K3 || COMPILE_TEST select GPIOLIB help This driver is for the General Purpose Memory Controller (GPMC) -- 2.25.1