xen: Fix Kconfig dependencies

XEN config can be enabled by other platforms (even it doesn't need to make
sense) that's why fix dependencies. XEN (xenbus.c) requires sscanf (also
pvblock needs it). And PVBLOCK is inside drivers/xen folder which requires
XEN to be enabled.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Michal Simek
2023-04-06 10:04:15 +02:00
committed by Tom Rini
parent af2fde49fe
commit 44cd761ad6
3 changed files with 2 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ config CC_HAS_ASM_INLINE
config XEN config XEN
bool "Select U-Boot be run as a bootloader for XEN Virtual Machine" bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
select SSCANF
help help
Enabling this option will make U-Boot be run as a bootloader Enabling this option will make U-Boot be run as a bootloader
for XEN [1] Virtual Machine. for XEN [1] Virtual Machine.

View File

@@ -2044,7 +2044,6 @@ config TARGET_XENGUEST_ARM64
select OF_CONTROL select OF_CONTROL
select LINUX_KERNEL_IMAGE_HEADER select LINUX_KERNEL_IMAGE_HEADER
select XEN_SERIAL select XEN_SERIAL
select SSCANF
imply OF_HAS_PRIOR_STAGE imply OF_HAS_PRIOR_STAGE
config ARCH_GXP config ARCH_GXP

View File

@@ -1,6 +1,6 @@
config PVBLOCK config PVBLOCK
bool "Xen para-virtualized block device" bool "Xen para-virtualized block device"
depends on DM depends on DM && XEN
select BLK select BLK
help help
This driver implements the front-end of the Xen virtual This driver implements the front-end of the Xen virtual