1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Emulation for QEMU 2.8 ARM Virtual Machine (alias of virt-2.8)
4 # https://wiki.qemu.org/Documentation/Platforms/ARM
6 if BOARD_EMULATION_QEMU_AARCH64
8 config BOARD_SPECIFIC_OPTIONS
10 select ARCH_BOOTBLOCK_ARMV8_64
11 select ARCH_VERSTAGE_ARMV8_64
12 select ARCH_ROMSTAGE_ARMV8_64
13 select ARCH_RAMSTAGE_ARMV8_64
14 select FLATTENED_DEVICE_TREE
15 select ARM64_USE_ARCH_TIMER
16 select BOARD_ROMSIZE_KB_16384
17 select BOOTBLOCK_CUSTOM
18 select BOOT_DEVICE_NOT_SPI_FLASH
19 select DRIVERS_UART_PL011
20 select HAVE_LINEAR_FRAMEBUFFER
21 select MAINBOARD_FORCE_NATIVE_VGA_INIT
22 select MAINBOARD_HAS_NATIVE_VGA_INIT
23 select MISSING_BOARD_RESET
24 select ARM64_USE_ARM_TRUSTED_FIRMWARE
27 config ECAM_MMCONF_BASE_ADDRESS
30 config ECAM_MMCONF_BUS_NUMBER
36 config MEMLAYOUT_LD_FILE
38 default "src/mainboard/emulation/qemu-aarch64/memlayout.ld"
41 default "emulation/qemu-aarch64"
43 config MAINBOARD_PART_NUMBER
44 default "QEMU AArch64"
50 config MAINBOARD_VENDOR
56 default 261120 # The maximum dram size is 255GiB.
58 endif # BOARD_EMULATION_QEMU_AARCH64