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