summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2023-04-06 10:04:15 +0200
committerTom Rini <trini@konsulko.com>2023-04-25 15:31:28 -0400
commit44cd761ad665f38f87f064ed0df5c013ec5f88cb (patch)
treeb61d298179daa5406a28522b5f81621c9a2199b7 /Kconfig
parentaf2fde49fe53810224c67d8d1cbc8080466da907 (diff)
downloadu-boot-44cd761ad665f38f87f064ed0df5c013ec5f88cb.tar.gz
u-boot-44cd761ad665f38f87f064ed0df5c013ec5f88cb.tar.bz2
u-boot-44cd761ad665f38f87f064ed0df5c013ec5f88cb.zip
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>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index f24e4f0a33..b4de17afac 100644
--- a/Kconfig
+++ b/Kconfig
@@ -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.