From patchwork Wed Jul 1 09:00:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Wallner X-Patchwork-Id: 1321035 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=br-automation.com Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49y9vj6Lq2z9sR4 for ; Thu, 2 Jul 2020 18:18:09 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6061681B8C; Thu, 2 Jul 2020 10:17:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=br-automation.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id CC2048044A; Wed, 1 Jul 2020 11:00:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail2.br-automation.com (mail2.br-automation.com [213.33.116.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A4876818E7 for ; Wed, 1 Jul 2020 11:00:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=br-automation.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=wolfgang.wallner@br-automation.com X-AuditID: c0a80110-0dbff70000007cc3-1e-5efc509c9cbb Received: from brsmtp01.br-automation.co.at (Unknown_Domain [192.168.1.60]) by mail2.br-automation.com () with SMTP id 1D.DE.31939.C905CFE5; Wed, 1 Jul 2020 11:00:12 +0200 (CEST) From: "Wolfgang Wallner" To: u-boot@lists.denx.de Cc: "Simon Glass" , "Bin Meng" , "Wolfgang Wallner" Subject: [PATCH 2/2] x86: p2sb: make P2SB driver depend on P2SB uclass Date: Wed, 1 Jul 2020 11:00:01 +0200 Message-Id: <20200701090001.229889-3-wolfgang.wallner@br-automation.com> In-Reply-To: <20200701090001.229889-1-wolfgang.wallner@br-automation.com> X-Mailer: git-send-email 2.27.0 References: <20200701090001.229889-1-wolfgang.wallner@br-automation.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on BRSMTPINTERN2/InternSMTP(Release 10.0.1FP3|August 09, 2019) at 01/07/2020 11:00:11, Serialize by Router on BRSMTPINTERN2/InternSMTP(Release 10.0.1FP3|August 09, 2019) at 01/07/2020 11:00:12, Itemize by SMTP Server on BRSMTP01/Eggelsberg/AT/B&R(Release 10.0.1FP3|August 09, 2019) at 07/01/2020 11:00:12 AM X-TNEFEvaluated: 1 X-Disclaimed: 29683 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCLMWRmVeSWpSXmKPExsVyYAWjje6cgD9xBsufKFtM7Ym3+LZlG6PF 272d7A7MHrMbLrJ47Jx1l93j7J0djAHMUVw2Kak5mWWpRfp2CVwZf2Z9Yy5YyVrx7etM9gbG BSxdjJwcEgImEptnXGHtYuTiEBLYyihx/up3sASbgK1E45GtbCC2iICExK/+q4xdjBwczAJ1 El9nRYOEhQXcJH4+f8MOYrMIqEh83L+TDaSEV8BDYs6CNJAwp4CnxLmF2xlBbGYBbYllC18z Q6yVl5g4+y5YXAiofN20qWBjeAUEJU7OfMICco6EwG0miUNbL7JCNAhJnF58FqpZWGLThdds ExgFZiGZOwtJ/wJGplWM4rmJmTlGeklFuomlJfm5iSWZ+Xl6yfm5mxghISmwg3H3G+1DjEwc jIcYJTiYlUR4Txv8ihPiTUmsrEotyo8vKs1JLT7EKM3BoiTO63tVK05IID2xJDU7NbUgtQgm y8TBKdXAKKC//k6sp3tgWo3y6eD1lnqLIheHSv3MeJWb2lHoc+p4tL5UWNziZbZq5S88N61a 83312/NyBzezpSxguPDm9La+tVH7GLgKjRa/zF0kZbat2lQvQrig23tCmNWa8omlqW8MVEu2 L7mtz/Xm6I18vZSDh15U3TcL9r/xQU/p4XLuU3zq8pdXKLEUZyQaajEXFScCACqilI83AgAA X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Currently it is possible to select the P2SB driver without selecting the P2SB uclass, which can't work. Fix this by adding a "depends on" in Kconfig. Signed-off-by: Wolfgang Wallner --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c8eae24c07..27295ef384 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -717,6 +717,7 @@ config HAVE_ITSS config HAVE_P2SB bool "Enable P2SB" + depends on P2SB help Select this to include the driver for the Primary to Sideband Bridge (P2SB) which is found on several Intel