From patchwork Wed Jul 1 11:26:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Wallner X-Patchwork-Id: 240552 List-Id: U-Boot discussion From: wolfgang.wallner at br-automation.com (Wolfgang Wallner) Date: Wed, 1 Jul 2020 13:26:55 +0200 Subject: [PATCH v2 2/2] x86: p2sb: make P2SB driver depend on P2SB uclass In-Reply-To: <20200701112655.252849-1-wolfgang.wallner@br-automation.com> References: <20200701112655.252849-1-wolfgang.wallner@br-automation.com> Message-ID: <20200701112655.252849-3-wolfgang.wallner@br-automation.com> 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 --- (no changes since v2) Changes in v2: - Fixed cover letter 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