mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
0501c997a0
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>
28 lines
632 B
C
28 lines
632 B
C
/* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* (C) Copyright 2020 EPAM Systemc Inc.
|
|
*/
|
|
#ifndef __XENGUEST_ARM64_H
|
|
#define __XENGUEST_ARM64_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#include <linux/types.h>
|
|
#endif
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS
|
|
|
|
#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 \
|
|
"pvblockboot=ext4load pvblock 0 0x90000000 /boot/Image;" \
|
|
"booti 0x90000000 - 0x88000000;\0"
|
|
#endif
|
|
|
|
#endif /* __XENGUEST_ARM64_H */
|