[PATCH 1/2] xen: Add dependency on armv8

Michal Simek michal.simek at amd.com
Tue Apr 11 13:23:06 CEST 2023


Xen core calls HYPERVISOR_memory_op() in map_shared_info() which is just in
xen_init() called from init_sequence_r[].

Xen can run only on armv8 where HVC calls are implemented that's why enable
it only for arm64.

Signed-off-by: Michal Simek <michal.simek at amd.com>
---

Depends on
https://lore.kernel.org/r/1bc97e93ae35da1dba0643845e09b03c1e666cf5.1680768245.git.michal.simek@amd.com
---
 Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Kconfig b/Kconfig
index d18a13c923f4..27cdf57527f1 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"
+	depends on ARM64
 	select SSCANF
 	help
 	  Enabling this option will make U-Boot be run as a bootloader
-- 
2.36.1



More information about the U-Boot mailing list