blob: c5e3d1678d08bcec3750e878ca8301edff675ad9 [file] [log] [blame]
Andrii Anisov355d1e42020-08-06 12:42:47 +03001/* 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 Anisov355d1e42020-08-06 12:42:47 +030012#define CONFIG_EXTRA_ENV_SETTINGS
13
14#undef CONFIG_NR_DRAM_BANKS
15#undef CONFIG_SYS_SDRAM_BASE
16
17#define CONFIG_NR_DRAM_BANKS 1
18
19/*
20 * This can be any arbitrary address as we are using PIE, but
21 * please note, that CONFIG_SYS_TEXT_BASE must match the below.
22 */
Andrii Anisov355d1e42020-08-06 12:42:47 +030023#define CONFIG_LNX_KRNL_IMG_TEXT_OFFSET_BASE CONFIG_SYS_LOAD_ADDR
24
Andrii Anisov355d1e42020-08-06 12:42:47 +030025/* Monitor Command Prompt */
Andrii Anisov355d1e42020-08-06 12:42:47 +030026#define CONFIG_SYS_CBSIZE 1024
27#define CONFIG_SYS_MAXARGS 64
28#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
29#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
30 sizeof(CONFIG_SYS_PROMPT) + 16)
31
32#define CONFIG_OF_SYSTEM_SETUP
33
Anastasiia Lukianenko4fec7f82020-08-06 12:42:55 +030034#undef CONFIG_EXTRA_ENV_SETTINGS
35#define CONFIG_EXTRA_ENV_SETTINGS \
36 "loadimage=ext4load pvblock 0 0x90000000 /boot/Image;\0" \
37 "pvblockboot=run loadimage;" \
38 "booti 0x90000000 - 0x88000000;\0"
39
Andrii Anisov355d1e42020-08-06 12:42:47 +030040#endif /* __XENGUEST_ARM64_H */