diff options
author | Andrii Chepurnyi <Andrii_Chepurnyi@epam.com> | 2023-10-03 08:58:28 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-11 10:46:23 -0400 |
commit | 0501c997a0aa647ec6995a6e662b677db037ee5c (patch) | |
tree | 12fecb654307a1c328cab5197b13d18dbbe659ba /include/configs | |
parent | 357f4fb0bdc5ca1e6e881638b7089444f07b99d3 (diff) | |
download | u-boot-0501c997a0aa647ec6995a6e662b677db037ee5c.zip u-boot-0501c997a0aa647ec6995a6e662b677db037ee5c.tar.gz u-boot-0501c997a0aa647ec6995a6e662b677db037ee5c.tar.bz2 |
board: xen: introduce virtio-blk support
Added new xenguest_arm64_virtio_defconfig which
enables support for virtio-blk using various types
of transport like virtio-pci, vrtio-mmio. Currently
supported: up to 2 PCI host bridges and 10 MMIO devices.
Note: DT parsing code was partly taken from pci-uclass.c
Limitation: All memory regions should be
below 4GB address space.
Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/xenguest_arm64.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/xenguest_arm64.h b/include/configs/xenguest_arm64.h index bc268d2..3dce25b 100644 --- a/include/configs/xenguest_arm64.h +++ b/include/configs/xenguest_arm64.h @@ -14,9 +14,15 @@ #undef CFG_SYS_SDRAM_BASE #undef CFG_EXTRA_ENV_SETTINGS + +#ifdef CONFIG_VIRTIO_BLK +#define CFG_EXTRA_ENV_SETTINGS \ + "virtioboot=virtio scan; ext4load virtio 0 0x90000000 /boot/Image;" \ + "booti 0x90000000 - ${fdtcontroladdr};\0" +#else #define CFG_EXTRA_ENV_SETTINGS \ - "loadimage=ext4load pvblock 0 0x90000000 /boot/Image;\0" \ - "pvblockboot=run loadimage;" \ + "pvblockboot=ext4load pvblock 0 0x90000000 /boot/Image;" \ "booti 0x90000000 - 0x88000000;\0" +#endif #endif /* __XENGUEST_ARM64_H */ |