Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5834087iob; Tue, 10 May 2022 04:58:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd0hs8Lj9zNfElaTS/SGN1Xh7wwFfvtWgJtWVrwfXxiQWBAmt4vAClwyw021fhZhesn8d/ X-Received: by 2002:a05:6a00:b56:b0:510:8107:5cf8 with SMTP id p22-20020a056a000b5600b0051081075cf8mr19684040pfo.2.1652183917474; Tue, 10 May 2022 04:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652183917; cv=none; d=google.com; s=arc-20160816; b=j9NoLgGZRxn52RjRyRcPOiJk3S9CNbqC/Tj2JtRsNL1t2v96ySeiQbau+Y7KcK/4Jw FDDVrdv9SQDASlY8r4ljNwImThVTUPp9Gws7Ss6yArDjT+thW3VR5HnCSxM09HDrEENx e0m/VIhVnyIuxw+laSlSx3lOqE90PnkywtBtZDEO9mbdi+kan/bbo85vus0H9zBz07gq ZEDygzV3LcU/szg8HPXu+XY5IBOzNgGEPJuju6+nqiTbH/2v/r+o4N4QIUtPxLfXRAuh jobnkfyVuAmnDDpeum4BQKAdUZuGMPjdPupA9FYZUuZEaGKZEviN2l+A9MpWmpb6GQUE QmbQ== 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=wwbs/f0m1Hzse97l07OrWQ6wNN42zMGM6KQ5SgYmxRA=; b=YptGHQXlpUoLzRrg0vfbLkp1UQm+rZ53wmY4JmtlXllkmTFhlh/DQAxnKtGwdKirl4 tRtyiy4URQtwlRAGCXdZLZHw5N9spQRIcKNrrIHtvRUUnQtvQ6IuNdydfw053KI+p11T BtvrqF4B+od5vVjbfojr42h5ENU4ecgPXSRZAVq0+ikRp4CwU4zUMY2RRduNl3CeyGem /5esumd9q4YtXrvRe+zYl01gJkWbmjNwJ2i567VAw6xy5lJ1tQUeYyZVAq9+8Oj0A41H VUzzCZV1y6nwvQO/h5kYmtKwRaGAJCCrTEixJo3r7Rqq8kjGphcpwmU7zpFEFEcD3tbw fPkw== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020a17090332d100b0015ebbafe91bsi3836714plr.50.2022.05.10.04.58.23; Tue, 10 May 2022 04:58:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238810AbiEJJdW (ORCPT + 99 others); Tue, 10 May 2022 05:33:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238795AbiEJJdS (ORCPT ); Tue, 10 May 2022 05:33:18 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4749F28C9F4 for ; Tue, 10 May 2022 02:29:18 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:8886:2b92:63eb:2922]) by xavier.telenet-ops.be with bizsmtp id UxVG270050moLbn01xVGyi; Tue, 10 May 2022 11:29:16 +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 1noMB9-003cdn-MW; Tue, 10 May 2022 11:29:15 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1noMB8-0046l4-RN; Tue, 10 May 2022 11:29:14 +0200 From: Geert Uytterhoeven To: Krzysztof Kozlowski , Roger Quadros , Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 Date: Tue, 10 May 2022 11:29:13 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, 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 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 --- 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) -- 2.25.1