From: Peng Fan <peng....@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....@nxp.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukiane...@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

Reply via email to