summaryrefslogtreecommitdiff
path: root/include/configs/xenguest_arm64.h
diff options
context:
space:
mode:
authorAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>2020-08-06 12:42:55 +0300
committerTom Rini <trini@konsulko.com>2020-08-14 15:18:30 -0400
commit722bc5b5d901eafb96e8530cc7cf3036bff398a4 (patch)
treedd7518078a82e91b14944d9136147e688e064992 /include/configs/xenguest_arm64.h
parentc850674ff74b1625c17a77a454acec0e9cc6ec36 (diff)
downloadu-boot-722bc5b5d901eafb96e8530cc7cf3036bff398a4.tar.gz
xen: pvblock: Add initial support for para-virtualized block driver
Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface type IF_TYPE_PVBLOCK. Implement basic driver setup by reading XenStore configuration. Signed-off-by: Andrii Anisov <andrii_anisov@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Diffstat (limited to 'include/configs/xenguest_arm64.h')
-rw-r--r--include/configs/xenguest_arm64.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/xenguest_arm64.h b/include/configs/xenguest_arm64.h
index d8958cfe75..db3059a82c 100644
--- a/include/configs/xenguest_arm64.h
+++ b/include/configs/xenguest_arm64.h
@@ -41,4 +41,12 @@
#define CONFIG_CMDLINE_TAG 1
#define CONFIG_INITRD_TAG 1
+#define CONFIG_CMD_RUN
+
+#undef CONFIG_EXTRA_ENV_SETTINGS
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "loadimage=ext4load pvblock 0 0x90000000 /boot/Image;\0" \
+ "pvblockboot=run loadimage;" \
+ "booti 0x90000000 - 0x88000000;\0"
+
#endif /* __XENGUEST_ARM64_H */