[PATCH 02/17] Kconfig: Introduce CONFIG_XEN

Anastasiia Lukianenko vicooodin at gmail.com
Wed Jul 1 18:29:44 CEST 2020


From: Peng Fan <peng.fan at nxp.com>

Introduce CONFIG_XEN to make U-Boot could be used as bootloader
for a virtual machine.

Without bootloader, we could successfully boot up android on XEN, but
we need need bootloader to support A/B, dm verify and etc.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
---
 Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Kconfig b/Kconfig
index 8f3fba085a..67f773d3a6 100644
--- a/Kconfig
+++ b/Kconfig
@@ -69,6 +69,13 @@ config CC_COVERAGE
 	  Enabling this option will pass "--coverage" to gcc to compile
 	  and link code instrumented for coverage analysis.
 
+config XEN
+	bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
+	default n
+	help
+	  Enabling this option will make U-Boot be run as a bootloader
+	  for XEN Virtual Machine.
+
 config DISTRO_DEFAULTS
 	bool "Select defaults suitable for booting general purpose Linux distributions"
 	select AUTO_COMPLETE
-- 
2.17.1



More information about the U-Boot mailing list