Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6044257iob; Tue, 10 May 2022 09:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRh8kfTukBWZxGGoWw1L87QXBt1YUgjeavwWzQBVyetjrSby7yFZClnylNh4y7oGSTCed5 X-Received: by 2002:a17:902:e94e:b0:15b:22a7:f593 with SMTP id b14-20020a170902e94e00b0015b22a7f593mr21599992pll.148.1652198757726; Tue, 10 May 2022 09:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652198757; cv=none; d=google.com; s=arc-20160816; b=gxCr/9ilJjHy3XGltRXgyhsokNDS2lTD4ILdjXMiNsGvttWYbnzZ3SJogyucDhoAbV a51yRRQkTZhTSUMm1HzzODUu4jqRHZLYFJ7eJ/qh1PM2M+etfeOIHZLPAKu1a6YbRU29 XXMXvyXLMoLsHWmRC9JbX1ExnGGshZeFHHm2SJj2B+NlPMTzqLXb92ObclAqK00rQVKw ja/2xKNpf4KcUMa+dhGyVmne8lMUYm0gkyKE5NipipVkgbHvTZrtLJEiZXCDl2RYfMUC Blj+C/6K9Q1YeUy1ujD2Wbq6RU3RAAMdskFuRBrX4rydw3ftD0ClF+x/bH90Jzd8c6MO GrNQ== 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=i/idkZUo2kxuxtkYRyQXGMfzI2/39VtbWl6shtA0a80=; b=BvsK2c4EipO7+xeAiC5tFC4RXwCbYohw4aRFg1+rZad5xqtoZDA793G+g7tWpvwwb0 JdQOMmGKPSf/6KofrJ1rWC6N1NtV/XgA4nkTSiaJSd0fijKOriAtuE4cAhsIYQasiGz7 cL8KJDOt+YtERvJ6ktYbChpIr8MjKWar6EDTzMXH+zwkY5et5Onp3lUs557cDg2iNp09 fEW45/UrgxKlYZEOtVxgP6waPnJAkgKlpq0HFjB/hlXm2itfpFNRDhECZPytXTq/pz4Q vKzEdy9aWhFDy8wkxAzokATrxuD1kkRWZMcfwLl2mw4+j9dlIcXqhQTjNo8EGpZpQvmW Mw3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kZWStkvF; 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 126-20020a630084000000b003aa67dc6efesi17749434pga.688.2022.05.10.09.05.41; Tue, 10 May 2022 09:05:57 -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=kZWStkvF; 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 S241623AbiEJHew (ORCPT + 99 others); Tue, 10 May 2022 03:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240965AbiEJH0Z (ORCPT ); Tue, 10 May 2022 03:26:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E55363A5D7; Tue, 10 May 2022 00:22:26 -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 ams.source.kernel.org (Postfix) with ESMTPS id 5E0D2B81A0A; Tue, 10 May 2022 07:22:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2F7AC385A6; Tue, 10 May 2022 07:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652167343; bh=7K3MJOtEcuHFbzjGMBK9G/czvkGrWXEYQvzkmmVBkhQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kZWStkvFA8dnpda13YuPiWGK0wi+F3QMo+0rLC4WwxoXWbBokY9OOoBlHQk5hoX6H 9Ev58O9/bLrAXY12Cp+Zy0Fqxwhr2JFzkFkd5C4K2WzSiLpUWI5R7c+l9FTvQ1V3BN W74dn3lvc5yAgBieYb9QwIO9r0d4vlpc/L/qbIs0KkAVctuDVdMQGa1unzI3GJHOAU hOJfC70rggZj7Q+1r3OGZaEVGpb+4eUjFQoTmZzwymFGdocaVeuXngtRtXylCyBLkq AQfI43pXdyN4PA1DaXOCo/EBp9j7xa0gMelyDi7lLpS6lbBwHob9TKQ1gDQxT7wt/g z79lkfNH5V6BA== Message-ID: <20fd1a74-c0f5-d8e9-4903-b74c185d5aa3@kernel.org> Date: Tue, 10 May 2022 10:22:18 +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] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_K3 Content-Language: en-US To: Geert Uytterhoeven , Krzysztof Kozlowski Cc: Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org References: <2b7d411b4a7913335082c858cb0d63b9e4bf7c5b.1652103920.git.geert+renesas@glider.be> From: Roger Quadros In-Reply-To: <2b7d411b4a7913335082c858cb0d63b9e4bf7c5b.1652103920.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.8 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, URIBL_BLOCKED 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 Hi Geert, On 09/05/2022 16:48, Geert Uytterhoeven wrote: > 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) Is there any possibility that CONFIG_IRQ_DOMAIN is not set while both OF_ADDRESS and COMPILE_TEST are set? That particular case will lead to build failures. e.g. https://krzk.eu/#/builders/63/builds/162 cheers, -roger