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 | |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 12 | #define CONFIG_EXTRA_ENV_SETTINGS |
| 13 | |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 14 | #undef CONFIG_SYS_SDRAM_BASE |
| 15 | |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 16 | /* Monitor Command Prompt */ |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 17 | #define CONFIG_SYS_CBSIZE 1024 |
| 18 | #define CONFIG_SYS_MAXARGS 64 |
| 19 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 20 | #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ |
| 21 | sizeof(CONFIG_SYS_PROMPT) + 16) |
| 22 | |
Anastasiia Lukianenko | 4fec7f8 | 2020-08-06 12:42:55 +0300 | [diff] [blame] | 23 | #undef CONFIG_EXTRA_ENV_SETTINGS |
| 24 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 25 | "loadimage=ext4load pvblock 0 0x90000000 /boot/Image;\0" \ |
| 26 | "pvblockboot=run loadimage;" \ |
| 27 | "booti 0x90000000 - 0x88000000;\0" |
| 28 | |
Andrii Anisov | 355d1e4 | 2020-08-06 12:42:47 +0300 | [diff] [blame] | 29 | #endif /* __XENGUEST_ARM64_H */ |