1 ## SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_EMULATION_QEMU_X86_I440FX
5 config BOARD_SPECIFIC_OPTIONS
8 select NO_ECAM_MMCONF_SUPPORT
9 select SOUTHBRIDGE_INTEL_I82371EB
10 select HAVE_OPTION_TABLE
11 select HAVE_CMOS_DEFAULT
12 select HAVE_PIRQ_TABLE
13 select HAVE_ACPI_TABLES
14 select BOARD_ROMSIZE_KB_4096 if !VBOOT
15 select BOARD_ROMSIZE_KB_8192 if VBOOT
16 select MAINBOARD_HAS_NATIVE_VGA_INIT
17 select MAINBOARD_FORCE_NATIVE_VGA_INIT
18 select HAVE_ASAN_IN_ROMSTAGE
20 select BOOT_DEVICE_NOT_SPI_FLASH
21 select BOOT_DEVICE_MEMORY_MAPPED
22 select BOOT_DEVICE_SUPPORTS_WRITES
25 select VBOOT_MUST_REQUEST_DISPLAY
26 select VBOOT_STARTS_IN_BOOTBLOCK
27 select VBOOT_VBNV_CMOS
28 select GBB_FLAG_DISABLE_LID_SHUTDOWN
29 select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
30 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
31 select GBB_FLAG_DISABLE_FWMP
33 if ARCH_BOOTBLOCK_X86_64
35 config PAGE_TABLES_IN_CBFS
39 # Need to install page tables in DRAM as the virtual MMU has problems translating paging
40 # request when the page table resides in emulated ROM. This causes undefined behaviour
41 # when handling data requests, as well as fetching and decoding instructions
42 # Real hardware didn't show any problems until now.
43 config ARCH_X86_64_PGTBL_LOC
49 config VBOOT_SLOTS_RW_A
55 default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwa-8M.fmd" if VBOOT_SLOTS_RW_A
57 config VBOOT_VBNV_OFFSET
62 default "emulation/qemu-i440fx"
64 config MAINBOARD_PART_NUMBER
65 default "QEMU x86 i440fx/piix4"
71 # Skip the first 64KiB as coreboot table pointer is installed
73 config DCACHE_RAM_BASE
77 # Memory at 0xa0000 decodes to VGA
78 config DCACHE_RAM_SIZE
82 config C_ENV_BOOTBLOCK_SIZE
86 config DCACHE_BSP_STACK_SIZE
90 endif # BOARD_EMULATION_QEMU_X86_I440FX