Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2512070rwl; Sat, 8 Apr 2023 17:12:23 -0700 (PDT) X-Google-Smtp-Source: AKy350Y+QbfdZTXom2g7fq1n/gOedJFWVyMVsFslm8DhfTfhJfpyZX6iBZpYJzcUVZ4EDRrXp6JU X-Received: by 2002:a17:907:8a1c:b0:94a:511b:a21d with SMTP id sc28-20020a1709078a1c00b0094a511ba21dmr1584519ejc.28.1680999142910; Sat, 08 Apr 2023 17:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680999142; cv=none; d=google.com; s=arc-20160816; b=v2ugjSmTLEKzfziVT23N6zXq9iqihDtPDGVbUM2hjOq9PfWOUhLH8VGbSu7/2SOJOS bZ07H537h0YDJfoIQjzonqjIwdsJ9+9uWtWw9/qerlVrlJ9eFadydlVpflgV1/JZ5bR6 FsSRqMf1Org6tHkQC1gabCh1fD0pdviPvO1xGhZ9q9006pELGD1t51VnABPzj+OJs1xH PXBKynJpbdQiRq07PlvgamJ1DQKpuhvvTRdLnat1jc/HTv4BTS+xqa/Xy4jiqFlM3miH 3Bme5ZdYeXBj22Jtlac3r7ojgUwKQOCSvewb8mcPa59epytC7wbFV0mn8itTaO41H/x7 a72A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HFcn08Xu4BMSryuSHnY2nps83V8z0OOCtFbmPpUWkbo=; b=jYRrSCSg9L+AoEVWjkumVltHw94y8xI0a+CpPum2R1QssjY88w13ihMn55/qrEjqE2 HMS8JbRU1HPCJn2dSCjJbSWrKsZSd8BDrAbzhTDMH80uH+r7awtaR99WhsxF6RSzs217 ha/Pp0OtgmkLf6R7BbaTljVpNSjCobz5pe0S4lkArraBQzNPOUM/VkVs9zU4OzfCJpwV XUXLURI57r1B/3g18y+gnggABZdZMiiDGBXaUr9uWSi9DRhQ/Ncoo3jBmnPkesim3IDL YpT0b8gE9l2JMT2kCaaxRXKFFYaesuv7QJ+i2VZglRGT0cMv80LdYzKeuGUBHHGkUTC3 qUvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tebSVYfP; 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 vc18-20020a170907d09200b0094a358f34f9si2238630ejc.525.2023.04.08.17.11.55; Sat, 08 Apr 2023 17:12: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=tebSVYfP; 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 S229614AbjDIAJn (ORCPT + 99 others); Sat, 8 Apr 2023 20:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjDIAJZ (ORCPT ); Sat, 8 Apr 2023 20:09:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA31B86A6 for ; Sat, 8 Apr 2023 17:09:24 -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 3CFBC616C7 for ; Sun, 9 Apr 2023 00:09:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BCA8C433A1; Sun, 9 Apr 2023 00:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680998961; bh=2pNvYVP5uD4qt+Qt22ZgPaAGgqS2r/yXjQJVNWR+Fmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tebSVYfP4WEsAcRzEmIaUO0XgpWQUPsWSvb4C8/WChT7X/rWOHuS+lYy8NHWlObd+ OyZEECT0HH0sAS/X3o/vm1OrDZ+2Mf5Dq1uTWBGeTz0ULYgK17HtmTpEtNvUyTStSe qrNOstV8zzNbvcboUbLRCGaRmjGBgc1096P2Ywg9612lJ3Df/S0UP2RVHBFTrPee1p ANVOQa36EvNKHccmmEuFZz7AXJppTEn1swq6/SvQaQ6wGkyV+5HgTwfZLFCS27H1Uv boLdXwA/J3G5E6073TBldVnO6bHVfWvkPlvctThRJq5a3rWZ2hppmQSZyAMenGfPjW 74SOUVTfp416Q== Received: by pali.im (Postfix) id 0A29B20C8; Sun, 9 Apr 2023 02:09:19 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Michael Ellerman , Christophe Leroy , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 6/8] powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support Date: Sun, 9 Apr 2023 02:08:10 +0200 Message-Id: <20230409000812.18904-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230409000812.18904-1-pali@kernel.org> References: <20230409000812.18904-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 ULI1575 PCIe south bridge exists only on some Freescale boards. Allow to disable CONFIG_FSL_ULI1575 symbol when it is not explicitly selected and only implied. This is achieved by marking symbol as visible by providing short description. Also adds dependency for this symbol to prevent enabling it on platforms on which driver does not compile. Signed-off-by: Pali Rohár --- arch/powerpc/platforms/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index d41dad227de8..608ac0290e3a 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig @@ -261,7 +261,9 @@ config CPM2 on it (826x, 827x, 8560). config FSL_ULI1575 - bool + bool "ULI1575 PCIe south bridge support" + depends on FSL_SOC_BOOKE || PPC_86xx + select FSL_PCI select GENERIC_ISA_DMA help Supports for the ULI1575 PCIe south bridge that exists on some -- 2.20.1