summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/Kconfig
blob: 940b89dc61113545d82ef50231f0f871bfbff9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: GPL-2.0-or-later

# Emulation for QEMU 2.8 ARM Virtual Machine (alias of virt-2.8)
# https://wiki.qemu.org/Documentation/Platforms/ARM

if BOARD_EMULATION_QEMU_AARCH64

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select ARCH_BOOTBLOCK_ARMV8_64
	select ARCH_VERSTAGE_ARMV8_64
	select ARCH_ROMSTAGE_ARMV8_64
	select ARCH_RAMSTAGE_ARMV8_64
	select ARM64_USE_ARCH_TIMER
	select BOARD_ROMSIZE_KB_4096
	select BOOTBLOCK_CUSTOM
	select BOOT_DEVICE_NOT_SPI_FLASH
	select DRIVERS_UART_PL011
	select HAVE_LINEAR_FRAMEBUFFER
	select MAINBOARD_FORCE_NATIVE_VGA_INIT
	select MAINBOARD_HAS_NATIVE_VGA_INIT
	select MISSING_BOARD_RESET
	select ARM64_USE_ARM_TRUSTED_FIRMWARE
	select PCI

config ECAM_MMCONF_BASE_ADDRESS
	default 0x4010000000

config ECAM_MMCONF_BUS_NUMBER
	default 256

config MEMLAYOUT_LD_FILE
	string
	default "src/mainboard/emulation/qemu-aarch64/memlayout.ld"

config MAINBOARD_DIR
	default "emulation/qemu-aarch64"

config MAINBOARD_PART_NUMBER
	default "QEMU AArch64"

config MAX_CPUS
	int
	default 2

config MAINBOARD_VENDOR
	string
	default "QEMU"

config DRAM_SIZE_MB
	int
	default 261120 # The maximum dram size is 255GiB.

endif #  BOARD_EMULATION_QEMU_AARCH64