From patchwork Fri May 5 23:00:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 90623 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp743561vqo; Fri, 5 May 2023 16:08:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HAqQ/e7pnfjOkU85/ToZO+0GyZy5ufxLxWaIeW7ilvHa99rxYxy5IRORw7LWExlGPSR58 X-Received: by 2002:aa7:8887:0:b0:643:a6b4:1ca1 with SMTP id z7-20020aa78887000000b00643a6b41ca1mr3962013pfe.7.1683328123450; Fri, 05 May 2023 16:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683328123; cv=none; d=google.com; s=arc-20160816; b=WIdEh288oDgJkRSqNQGveaKEUTAQZSb7H4lwSI3bEOeHqxt2mT+lZZZmbQ9IX8pAV/ XyYw+UbgGlCMkS3iQk3kq4hEpLfl6tKv/lbFF/yaZYeQ+LOrbwPhD3pl4635GoDAcazO em5Gip0yEwZZaLS293xrQEtayfBnuMf/7/gev/wirhD8xNYeE0mwE+AL1iC+5YV2M1hI SJ0ozF0cZFMRbTiEogRNv4JLw8HOxyVhdXzUKIoMmvUypztMSqrg0VkL/rdDV9CnghAT 5O4fATLl3NNxw5q1f9DZS4Xy9o9I+8ml1PYCOeN/fqUI14mwwfMJbnY/Tehr4yZC4/oz IrWw== 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:dkim-signature; bh=ynYN/E5zV6U2+rofOUaL5Z5bxVP7BjOHSyyXh1vFy+w=; b=hcKVD+vhY24+ATIuqoeX0YKMhEGiIMn6HAFJtBT8koZMcEeNbdo4M4KQvoUsgMVfLC 0dee0gct35Vlb2uAz7IidzkjZXGSmlf0Ly1JmRIzAALEyM0H04sjIdJyhpHlDwsFkNli j0WKm/7wy4csTw7g6tPPOPqw1olaIkNaYQv+nqeIWDd3+02zrjarkQ7pdu+dy+cUTC6D pblCpsDhVuJa35nuGnI1DllwHXjqJBOfx4q6RINkhe32lMB+25Gh+YOvZEsXKg7X9a9E e+Tios3irKNG+KEuUFUeIULZAwVw/YOd6AdyMFRyxmMw/wCeo2wnreV/H0ly7U7KoEqI jqRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=iwTVzskZ; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020aa7988c000000b0063b8350bdb6si3143828pfl.23.2023.05.05.16.08.29; Fri, 05 May 2023 16:08:43 -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=@infradead.org header.s=bombadil.20210309 header.b=iwTVzskZ; 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 S229681AbjEEXAi (ORCPT + 99 others); Fri, 5 May 2023 19:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjEEXAg (ORCPT ); Fri, 5 May 2023 19:00:36 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 435CC5B8C for ; Fri, 5 May 2023 16:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=ynYN/E5zV6U2+rofOUaL5Z5bxVP7BjOHSyyXh1vFy+w=; b=iwTVzskZWEh0tMmEBjm3qOS/rX JKdrBp3TdB08bFzwFZWUlfy8Xett54C8GbJAf84lju9ltpSe/veZy+5qVrXm6+Fng3JGh0QwNuFz0 A2uIcGYAUoQHXScjKTFj0uNRGkT2HVE2/xSowLk2/MgUcZERCzn16q4KzOZOMdUELEmQKhKtWIRPB GoZYObc+0vLNHCEP9VONPxQZ9i//S91zqPl1mYjpch4UuXM2vUQrdY6qoT0usSZzXw5tAjYdmZe8a ZTRHrayir4x20v1NMa8jp9EB9oOq7r7SOEbOtRDo8DG3VEd0cF+PckCSO89pPZLb5d/UBv9R+Suq8 JX9jepQQ==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pv4Ph-00C2jt-2P; Fri, 05 May 2023 23:00:34 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Michael Ellerman , Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set Date: Fri, 5 May 2023 16:00:32 -0700 Message-Id: <20230505230032.19156-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765097470518114375?= X-GMAIL-MSGID: =?utf-8?q?1765097470518114375?= When CONFIG_SMP is not set, CONFIG_BROKEN_ON_SMP is set, and CONFIG_PCI is not set, there can be a kconfig warning: WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] To fix that, make the selects of MPC10X_BRIDGE be conditional on PCI. Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/platforms/embedded6xx/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/arch/powerpc/platforms/embedded6xx/Kconfig b/arch/powerpc/platforms/embedded6xx/Kconfig --- a/arch/powerpc/platforms/embedded6xx/Kconfig +++ b/arch/powerpc/platforms/embedded6xx/Kconfig @@ -10,7 +10,7 @@ config LINKSTATION select FSL_SOC select PPC_UDBG_16550 if SERIAL_8250 select DEFAULT_UIMAGE - select MPC10X_BRIDGE + select MPC10X_BRIDGE if PCI help Select LINKSTATION if configuring for one of PPC- (MPC8241) based NAS systems from Buffalo Technology. So far only @@ -24,7 +24,7 @@ config STORCENTER select MPIC select FSL_SOC select PPC_UDBG_16550 if SERIAL_8250 - select MPC10X_BRIDGE + select MPC10X_BRIDGE if PCI help Select STORCENTER if configuring for the iomega StorCenter with an 8241 CPU in it.