x86: p2sb: make P2SB driver depend on P2SB uclass

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 <wolfgang.wallner@br-automation.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Wolfgang Wallner 2020-07-01 13:37:24 +02:00 committed by Bin Meng
parent d872e7da7a
commit ce04a9020c

View File

@ -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