Andrii Anisov | 770a8ee | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ |
| 2 | * |
| 3 | * (C) Copyright 2020 EPAM Systemc Inc. |
| 4 | */ |
| 5 | #ifndef __XENGUEST_ARM64_H |
| 6 | #define __XENGUEST_ARM64_H |
| 7 | |
| 8 | #ifndef __ASSEMBLY__ |
| 9 | #include <linux/types.h> |
| 10 | #endif |
| 11 | |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 12 | #define CFG_EXTRA_ENV_SETTINGS |
Andrii Anisov | 770a8ee | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 13 | |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 14 | #undef CFG_SYS_SDRAM_BASE |
Andrii Anisov | 770a8ee | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 15 | |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 16 | #undef CFG_EXTRA_ENV_SETTINGS |
Andrii Chepurnyi | 0501c99 | 2023-10-03 08:58:28 +0000 | [diff] [blame] | 17 | |
| 18 | #ifdef CONFIG_VIRTIO_BLK |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 19 | #define CFG_EXTRA_ENV_SETTINGS \ |
Andrii Chepurnyi | 0501c99 | 2023-10-03 08:58:28 +0000 | [diff] [blame] | 20 | "virtioboot=virtio scan; ext4load virtio 0 0x90000000 /boot/Image;" \ |
| 21 | "booti 0x90000000 - ${fdtcontroladdr};\0" |
| 22 | #else |
| 23 | #define CFG_EXTRA_ENV_SETTINGS \ |
| 24 | "pvblockboot=ext4load pvblock 0 0x90000000 /boot/Image;" \ |
Anastasiia Lukianenko | 722bc5b | 2020-08-06 12:42:55 +0300 | [diff] [blame] | 25 | "booti 0x90000000 - 0x88000000;\0" |
Andrii Chepurnyi | 0501c99 | 2023-10-03 08:58:28 +0000 | [diff] [blame] | 26 | #endif |
Anastasiia Lukianenko | 722bc5b | 2020-08-06 12:42:55 +0300 | [diff] [blame] | 27 | |
Andrii Anisov | 770a8ee | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 28 | #endif /* __XENGUEST_ARM64_H */ |