Gerd Hoffmann | 00cc7f43 | 2013-06-07 15:46:23 +0200 | [diff] [blame] | 1 | if BOARD_EMULATION_QEMU_X86_I440FX |
Jens Rottmann | 9a684fc | 2010-08-30 16:36:51 +0000 | [diff] [blame] | 2 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 3 | config BOARD_SPECIFIC_OPTIONS |
Jens Rottmann | 9a684fc | 2010-08-30 16:36:51 +0000 | [diff] [blame] | 4 | def_bool y |
Gerd Hoffmann | aa588e0 | 2013-05-31 09:26:55 +0200 | [diff] [blame] | 5 | select CPU_QEMU_X86 |
Kyösti Mälkki | 3d15e10 | 2016-11-29 16:46:56 +0200 | [diff] [blame] | 6 | select NO_MMCONF_SUPPORT |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 7 | select SOUTHBRIDGE_INTEL_I82371EB |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 8 | select HAVE_OPTION_TABLE |
Antonello Dettori | 7378d92 | 2016-08-17 22:38:17 +0200 | [diff] [blame] | 9 | select HAVE_CMOS_DEFAULT |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 10 | select HAVE_PIRQ_TABLE |
Stefan Reinauer | 597ff87 | 2013-01-07 13:21:22 -0800 | [diff] [blame] | 11 | select HAVE_ACPI_TABLES |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 12 | select BOARD_ROMSIZE_KB_256 if !VBOOT |
| 13 | select BOARD_ROMSIZE_KB_16384 if VBOOT |
Gerd Hoffmann | 414b947 | 2013-06-18 23:41:21 +0200 | [diff] [blame] | 14 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Nico Huber | 26ce9af | 2017-05-22 13:22:09 +0200 | [diff] [blame] | 15 | select MAINBOARD_FORCE_NATIVE_VGA_INIT |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 16 | |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 17 | config VBOOT |
| 18 | select VBOOT_MUST_REQUEST_DISPLAY |
| 19 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 20 | select VBOOT_SEPARATE_VERSTAGE |
| 21 | select VBOOT_VBNV_CMOS |
| 22 | select VBOOT_NO_BOARD_SUPPORT |
| 23 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 24 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 25 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 26 | select GBB_FLAG_DISABLE_FWMP |
| 27 | |
Patrick Rudolph | 9764bc1 | 2019-11-10 16:48:23 +0100 | [diff] [blame] | 28 | if VBOOT |
| 29 | |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 30 | config VBOOT_SLOTS_RW_A |
| 31 | default y |
| 32 | |
Patrick Rudolph | 9764bc1 | 2019-11-10 16:48:23 +0100 | [diff] [blame] | 33 | endif |
| 34 | |
Patrick Rudolph | f8251b9 | 2019-09-13 12:56:14 +0200 | [diff] [blame] | 35 | config FMDFILE |
| 36 | string |
| 37 | default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-rwa-16M.fmd" if VBOOT_SLOTS_RW_A |
| 38 | |
| 39 | config VBOOT_VBNV_OFFSET |
| 40 | hex |
| 41 | default 0x2c |
| 42 | |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 43 | config MAINBOARD_DIR |
| 44 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 45 | default "emulation/qemu-i440fx" |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 46 | |
| 47 | config MAINBOARD_PART_NUMBER |
| 48 | string |
Gerd Hoffmann | 00cc7f43 | 2013-06-07 15:46:23 +0200 | [diff] [blame] | 49 | default "QEMU x86 i440fx/piix4" |
Patrick Georgi | 0e9a925 | 2009-10-06 20:48:07 +0000 | [diff] [blame] | 50 | |
| 51 | config IRQ_SLOT_COUNT |
| 52 | int |
| 53 | default 6 |
Jens Rottmann | 9a684fc | 2010-08-30 16:36:51 +0000 | [diff] [blame] | 54 | |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 55 | # Skip the first 64KiB as coreboot table pointer is installed |
| 56 | # at address 0 |
Stefan Reinauer | 597ff87 | 2013-01-07 13:21:22 -0800 | [diff] [blame] | 57 | config DCACHE_RAM_BASE |
| 58 | hex |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 59 | default 0x10000 |
Stefan Reinauer | 597ff87 | 2013-01-07 13:21:22 -0800 | [diff] [blame] | 60 | |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 61 | # Memory at 0xa0000 decodes to VGA |
Stefan Reinauer | 597ff87 | 2013-01-07 13:21:22 -0800 | [diff] [blame] | 62 | config DCACHE_RAM_SIZE |
| 63 | hex |
Patrick Rudolph | 1af8923 | 2018-11-11 12:50:51 +0100 | [diff] [blame] | 64 | default 0x90000 |
| 65 | |
| 66 | config C_ENV_BOOTBLOCK_SIZE |
| 67 | hex |
| 68 | default 0x4000 |
Stefan Reinauer | 597ff87 | 2013-01-07 13:21:22 -0800 | [diff] [blame] | 69 | |
Patrick Rudolph | d72d52a | 2018-11-12 19:26:54 +0100 | [diff] [blame] | 70 | config DCACHE_BSP_STACK_SIZE |
| 71 | hex |
| 72 | default 0x4000 |
| 73 | |
Daniele Forsi | b8e96ed | 2014-07-29 12:13:12 +0200 | [diff] [blame] | 74 | endif # BOARD_EMULATION_QEMU_X86_I440FX |