x86: p2sb: make P2SB driver depend on P2SB uclass
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>
Wed, 1 Jul 2020 11:37:24 +0000 (13:37 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commitce04a9020c41a2ebf1d85e01532da69d2d2e2119
tree982e28a1a79f6967c6071dcea624eb7b9eed4104
parentd872e7da7a7e5c7199fa59506e08524277621649
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>
arch/x86/Kconfig