2020-08-06 09:42:47 +00:00
|
|
|
/* 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
|
|
|
|
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS
|
2020-08-06 09:42:47 +00:00
|
|
|
|
2022-11-16 18:10:37 +00:00
|
|
|
#undef CFG_SYS_SDRAM_BASE
|
2020-08-06 09:42:47 +00:00
|
|
|
|
2022-12-04 15:03:50 +00:00
|
|
|
#undef CFG_EXTRA_ENV_SETTINGS
|
2023-10-03 08:58:28 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_VIRTIO_BLK
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
|
|
"virtioboot=virtio scan; ext4load virtio 0 0x90000000 /boot/Image;" \
|
|
|
|
"booti 0x90000000 - ${fdtcontroladdr};\0"
|
|
|
|
#else
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2023-10-03 08:58:28 +00:00
|
|
|
"pvblockboot=ext4load pvblock 0 0x90000000 /boot/Image;" \
|
2020-08-06 09:42:55 +00:00
|
|
|
"booti 0x90000000 - 0x88000000;\0"
|
2023-10-03 08:58:28 +00:00
|
|
|
#endif
|
2020-08-06 09:42:55 +00:00
|
|
|
|
2020-08-06 09:42:47 +00:00
|
|
|
#endif /* __XENGUEST_ARM64_H */
|