Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 1 | if BOARD_EMULATION_QEMU_X86_Q35 |
| 2 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 3 | config BOARD_SPECIFIC_OPTIONS |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 4 | def_bool y |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 5 | select CPU_QEMU_X86 |
| 6 | select SOUTHBRIDGE_INTEL_I82801IX |
| 7 | select IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS |
Paul Menzel | 2b2f895 | 2018-05-13 18:39:58 +0200 | [diff] [blame] | 8 | select HAVE_OPTION_TABLE |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 9 | # select HAVE_PIRQ_TABLE |
| 10 | select HAVE_ACPI_TABLES |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 11 | select BOARD_ROMSIZE_KB_2048 if !VBOOT |
| 12 | select BOARD_ROMSIZE_KB_16384 if VBOOT |
Gerd Hoffmann | 414b947 | 2013-06-18 23:41:21 +0200 | [diff] [blame] | 13 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Nico Huber | 26ce9af | 2017-05-22 13:22:09 +0200 | [diff] [blame] | 14 | select MAINBOARD_FORCE_NATIVE_VGA_INIT |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 15 | |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 16 | config VBOOT |
| 17 | select VBOOT_MUST_REQUEST_DISPLAY |
| 18 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 19 | select VBOOT_SEPARATE_VERSTAGE |
| 20 | select VBOOT_VBNV_CMOS |
| 21 | select VBOOT_NO_BOARD_SUPPORT |
| 22 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 23 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 24 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 25 | select GBB_FLAG_DISABLE_FWMP |
| 26 | |
| 27 | config FMDFILE |
| 28 | string |
| 29 | default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-rwa-16M.fmd" if VBOOT_SLOTS_RW_A |
| 30 | |
| 31 | config VBOOT_SLOTS_RW_A |
| 32 | default y |
| 33 | |
| 34 | config VBOOT_VBNV_OFFSET |
| 35 | hex |
| 36 | default 0x2c |
| 37 | |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 38 | config MAINBOARD_DIR |
| 39 | string |
| 40 | default emulation/qemu-q35 |
| 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | string |
| 44 | default "QEMU x86 q35/ich9" |
| 45 | |
Kyösti Mälkki | b9646a2 | 2013-07-03 08:06:32 +0300 | [diff] [blame] | 46 | config BOOTBLOCK_MAINBOARD_INIT |
| 47 | string |
| 48 | default "mainboard/emulation/qemu-q35/bootblock.c" |
| 49 | |
Kyösti Mälkki | b9646a2 | 2013-07-03 08:06:32 +0300 | [diff] [blame] | 50 | config MMCONF_BASE_ADDRESS |
| 51 | hex |
| 52 | default 0xb0000000 |
| 53 | |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 54 | # Skip the first 64KiB as coreboot table pointer is installed |
| 55 | # at address 0 |
Gerd Hoffmann | df8d273 | 2013-06-18 11:09:29 +0200 | [diff] [blame] | 56 | config DCACHE_RAM_BASE |
| 57 | hex |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 58 | default 0x10000 |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 59 | |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 60 | # Memory at 0xa0000 decodes to VGA |
Gerd Hoffmann | df8d273 | 2013-06-18 11:09:29 +0200 | [diff] [blame] | 61 | config DCACHE_RAM_SIZE |
| 62 | hex |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 63 | default 0x90000 |
Gerd Hoffmann | ee941b38 | 2013-06-07 16:03:44 +0200 | [diff] [blame] | 64 | |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 65 | # Do not show IFD/blob options since QEMU doesn't care |
| 66 | config HAVE_INTEL_FIRMWARE |
| 67 | bool |
| 68 | default n |
| 69 | |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 70 | config C_ENV_BOOTBLOCK_SIZE |
| 71 | hex |
| 72 | default 0x4000 |
| 73 | |
Patrick Rudolph | d72d52a | 2018-11-12 19:26:54 +0100 | [diff] [blame] | 74 | config DCACHE_BSP_STACK_SIZE |
| 75 | hex |
| 76 | default 0x4000 |
| 77 | |
Daniele Forsi | b8e96ed | 2014-07-29 12:13:12 +0200 | [diff] [blame] | 78 | endif # BOARD_EMULATION_QEMU_X86_Q35 |