From: Michal Simek <michal.simek@amd.com>
Date: Tue, 18 Apr 2023 12:51:55 +0000 (+0200)
Subject: xen: Add dependency on armv8
X-Git-Tag: v2025.01-rc5-pxa1908~1028^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=539486787ec8bd9337c497171ff8bd67625a51a9;p=u-boot.git

xen: Add dependency on armv8

U-Boot currently implements hypervisor calls only for ARM64 that's why add
dependency on ARM64. The hardware functionality is also available on
ARMv7a, but currently not supported by U-Boot, hence it is not added to the
list of dependencies here.

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

diff --git a/Kconfig b/Kconfig
index b4de17afac..888b9984ac 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