blob: 3dce25b60e7eb3fab5b9521f687ca1f3c2c90d7a [file] [log] [blame]
Andrii Anisov770a8ee2020-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
Tom Rini0613c362022-12-04 10:03:50 -050012#define CFG_EXTRA_ENV_SETTINGS
Andrii Anisov770a8ee2020-08-06 12:42:47 +030013
Tom Riniaa6e94d2022-11-16 13:10:37 -050014#undef CFG_SYS_SDRAM_BASE
Andrii Anisov770a8ee2020-08-06 12:42:47 +030015
Tom Rini0613c362022-12-04 10:03:50 -050016#undef CFG_EXTRA_ENV_SETTINGS
Andrii Chepurnyi0501c992023-10-03 08:58:28 +000017
18#ifdef CONFIG_VIRTIO_BLK
Tom Rini0613c362022-12-04 10:03:50 -050019#define CFG_EXTRA_ENV_SETTINGS \
Andrii Chepurnyi0501c992023-10-03 08:58:28 +000020 "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 Lukianenko722bc5b2020-08-06 12:42:55 +030025 "booti 0x90000000 - 0x88000000;\0"
Andrii Chepurnyi0501c992023-10-03 08:58:28 +000026#endif
Anastasiia Lukianenko722bc5b2020-08-06 12:42:55 +030027
Andrii Anisov770a8ee2020-08-06 12:42:47 +030028#endif /* __XENGUEST_ARM64_H */