Message ID | 20230409000812.18904-7-pali@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1123219vqo; Sat, 8 Apr 2023 17:25:42 -0700 (PDT) X-Google-Smtp-Source: AKy350YcTQdGWX920mjzzYy7iVNzWrK+fr170Iopk+lGAvxLGe48rUibVsJG5UoxtJ0L1LIWOWs5 X-Received: by 2002:aa7:cd75:0:b0:502:3376:46bc with SMTP id ca21-20020aa7cd75000000b00502337646bcmr5251859edb.8.1680999942048; Sat, 08 Apr 2023 17:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680999942; cv=none; d=google.com; s=arc-20160816; b=N8U1fQgeVVLASrBmP11p7tXVoesI7PNLt+WNRW2NPHNeWKJYT55v3lW6z6l44xRDbI HIWd6PqGuJISVkjsAEevlsubZoryYVbyds+eH0RSfJb/LBSGLN/VS2WT9E/ma+2a6nHM RIulqXSbj6iGBO4iW/QtUAbnZQfAEAXdAc4hJqSui0IVIzGl0VW4kqXz/lznqPMC2v8D 3zxtrqdfawQ9db/uTelM3x3zAbFYYDccwGtGdjmjIvbudRhaZG0HKVsAAGYX2qkadFxr E4PFvLhUZZxXAZUeaCRkM3CQ5zfLZhYKBcLIw/H17PYnpLRFkHjbLB0tAsLVXpFOo6UP OPQQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qm5-20020a170907674500b00947e04bda8fsi6976183ejc.35.2023.04.08.17.25.15; Sat, 08 Apr 2023 17:25:42 -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 S229615AbjDIAJn (ORCPT <rfc822;yuanzuo1009@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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_Roh=C3=A1r?= <pali@kernel.org> To: Michael Ellerman <mpe@ellerman.id.au>, Christophe Leroy <christophe.leroy@csgroup.eu>, Nicholas Piggin <npiggin@gmail.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762656195099320291?= X-GMAIL-MSGID: =?utf-8?q?1762656195099320291?= |
Series |
powerpc/fsl_uli1575: Cleanups
|
|
Commit Message
Pali Rohár
April 9, 2023, 12:08 a.m. UTC
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 <pali@kernel.org>
---
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