From nobody Wed Feb 11 16:26:27 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFE46C77B7C for ; Fri, 5 May 2023 23:00:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbjEEXAi (ORCPT ); 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 [=3Dn] Selected by [y]: - MPC10X_BRIDGE [=3Dy] 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/platfor= ms/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.