1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_EMULATION_QEMU_X86_Q35
5 config BOARD_SPECIFIC_OPTIONS
8 select SOUTHBRIDGE_INTEL_I82801IX
9 select HAVE_CMOS_DEFAULT
10 select HAVE_OPTION_TABLE
11 # select HAVE_PIRQ_TABLE
12 select HAVE_ACPI_TABLES
13 select BOARD_ROMSIZE_KB_8192
14 select MAINBOARD_HAS_NATIVE_VGA_INIT
15 select MAINBOARD_FORCE_NATIVE_VGA_INIT if !CHROMEOS
16 select MEMORY_MAPPED_TPM
17 select MAINBOARD_HAS_CHROMEOS
18 select BOOT_DEVICE_NOT_SPI_FLASH
19 select BOOT_DEVICE_MEMORY_MAPPED
20 select BOOT_DEVICE_SUPPORTS_WRITES
23 select VBOOT_MUST_REQUEST_DISPLAY
24 select VBOOT_STARTS_IN_BOOTBLOCK
25 select VBOOT_VBNV_CMOS
26 select GBB_FLAG_DISABLE_LID_SHUTDOWN
27 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
28 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
29 select GBB_FLAG_DISABLE_FWMP
32 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa-8M.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB
33 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab-8M.fmd" if VBOOT_SLOTS_RW_AB
35 if ARCH_BOOTBLOCK_X86_64
37 config PAGE_TABLES_IN_CBFS
41 # Need to install page tables in DRAM as the virtual MMU has problems translating paging
42 # request when the page table resides in emulated ROM. This causes undefined behaviour
43 # when handling data requests, as well as fetching and decoding instructions
44 # Real hardware didn't show any problems until now.
45 config ARCH_X86_64_PGTBL_LOC
51 config VBOOT_SLOTS_RW_A
56 config VBOOT_VBNV_OFFSET
61 default "emulation/qemu-q35"
63 config MAINBOARD_PART_NUMBER
64 default "QEMU x86 q35/ich9"
66 config ECAM_MMCONF_BASE_ADDRESS
69 config ECAM_MMCONF_BUS_NUMBER
73 # fw_cfg tables can be larger than the default when TPM is enabled
74 config MAX_ACPI_TABLE_SIZE_KB
78 # Skip the first 64KiB as coreboot table pointer is installed
80 config DCACHE_RAM_BASE
84 # Memory at 0xa0000 decodes to VGA
85 config DCACHE_RAM_SIZE
89 # Do not show IFD/blob options since QEMU doesn't care
90 config HAVE_INTEL_FIRMWARE
94 config DCACHE_BSP_STACK_SIZE
98 endif # BOARD_EMULATION_QEMU_X86_Q35