Skip to content

Commit

Permalink
xen: Fix Kconfig dependencies
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
  • Loading branch information
michalsimek authored and trini committed Apr 25, 2023
1 parent af2fde4 commit 44cd761
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ config CC_HAS_ASM_INLINE

config XEN
bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
select SSCANF
help
Enabling this option will make U-Boot be run as a bootloader
for XEN [1] Virtual Machine.
Expand Down
1 change: 0 additions & 1 deletion arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,6 @@ config TARGET_XENGUEST_ARM64
select OF_CONTROL
select LINUX_KERNEL_IMAGE_HEADER
select XEN_SERIAL
select SSCANF
imply OF_HAS_PRIOR_STAGE

config ARCH_GXP
Expand Down
2 changes: 1 addition & 1 deletion drivers/xen/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config PVBLOCK
bool "Xen para-virtualized block device"
depends on DM
depends on DM && XEN
select BLK
help
This driver implements the front-end of the Xen virtual
Expand Down

0 comments on commit 44cd761

Please sign in to comment.