Andrii Anisov | 355d1e4 | 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 | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 12 | #define CFG_EXTRA_ENV_SETTINGS |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 13 | |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 14 | #undef CFG_SYS_SDRAM_BASE |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 15 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 16 | #undef CFG_EXTRA_ENV_SETTINGS |
Andrii Chepurnyi | 2b6c9b5 | 2023-10-03 08:58:28 +0000 | [diff] [blame] | 17 | |
| 18 | #ifdef CONFIG_VIRTIO_BLK |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 19 | #define CFG_EXTRA_ENV_SETTINGS \ |
Andrii Chepurnyi | 2b6c9b5 | 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 | 4fec7f8 | 2020-08-06 12:42:55 +0300 | [diff] [blame] | 25 | "booti 0x90000000 - 0x88000000;\0" |
Andrii Chepurnyi | 2b6c9b5 | 2023-10-03 08:58:28 +0000 | [diff] [blame] | 26 | #endif |
Anastasiia Lukianenko | 4fec7f8 | 2020-08-06 12:42:55 +0300 | [diff] [blame] | 27 | |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 28 | #endif /* __XENGUEST_ARM64_H */ |