Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 4 | ## |
| 5 | ## This program is free software; you can redistribute it and/or modify |
| 6 | ## it under the terms of the GNU General Public License as published by |
| 7 | ## the Free Software Foundation; version 2 of the License. |
| 8 | ## |
| 9 | ## This program is distributed in the hope that it will be useful, |
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | ## GNU General Public License for more details. |
| 13 | ## |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 14 | |
| 15 | config NORTHBRIDGE_INTEL_HASWELL |
| 16 | bool |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 17 | select CPU_INTEL_HASWELL |
Arthur Heymans | f300f36 | 2018-01-27 13:39:12 +0100 | [diff] [blame] | 18 | select CACHE_MRC_SETTINGS |
Furquan Shaikh | 77f48cd | 2013-08-19 10:16:50 -0700 | [diff] [blame] | 19 | select INTEL_DDI |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 20 | select INTEL_GMA_ACPI |
Arthur Heymans | d893a26 | 2018-12-19 16:54:06 +0100 | [diff] [blame] | 21 | select BOOTBLOCK_CONSOLE |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 22 | |
| 23 | if NORTHBRIDGE_INTEL_HASWELL |
| 24 | |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame] | 25 | config HASWELL_VBOOT_IN_BOOTBLOCK |
| 26 | depends on VBOOT |
| 27 | bool "Start verstage in bootblock" |
| 28 | default y |
| 29 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 30 | select VBOOT_SEPARATE_VERSTAGE |
| 31 | help |
| 32 | Haswell can either start verstage in a separate stage |
| 33 | right after the bootblock has run or it can start it |
| 34 | after romstage for compatibility reasons. |
Joel Kitching | 82d73e2 | 2019-04-30 13:13:40 +0800 | [diff] [blame] | 35 | Haswell however uses a mrc.bin to initialize memory which |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame] | 36 | needs to be located at a fixed offset. Therefore even with |
| 37 | a separate verstage starting after the bootblock that same |
| 38 | binary is used meaning a jump is made from RW to the RO region |
| 39 | and back to the RW region after the binary is done. |
| 40 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 41 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 42 | select VBOOT_MUST_REQUEST_DISPLAY |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame] | 43 | select VBOOT_STARTS_IN_ROMSTAGE if !HASWELL_VBOOT_IN_BOOTBLOCK |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 44 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 45 | config VGA_BIOS_ID |
| 46 | string |
| 47 | default "8086,0166" |
| 48 | |
Elyes HAOUAS | ef169d6 | 2018-09-14 10:28:52 +0200 | [diff] [blame] | 49 | config MMCONF_BASE_ADDRESS |
| 50 | hex |
| 51 | default 0xf0000000 |
| 52 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 53 | config DCACHE_RAM_BASE |
| 54 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 55 | default 0xff7c0000 |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 56 | |
| 57 | config DCACHE_RAM_SIZE |
| 58 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 59 | default 0x10000 |
| 60 | help |
| 61 | The size of the cache-as-ram region required during bootblock |
| 62 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 63 | must add up to a power of 2. |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 64 | |
| 65 | config DCACHE_RAM_MRC_VAR_SIZE |
| 66 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 67 | default 0x30000 |
| 68 | help |
| 69 | The amount of cache-as-ram region required by the reference code. |
| 70 | |
Arthur Heymans | 8e646e7 | 2018-06-05 11:19:22 +0200 | [diff] [blame] | 71 | config DCACHE_BSP_STACK_SIZE |
| 72 | hex |
| 73 | default 0x2000 |
| 74 | help |
| 75 | The amount of anticipated stack usage in CAR by bootblock and |
| 76 | other stages. |
| 77 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 78 | config HAVE_MRC |
| 79 | bool "Add a System Agent binary" |
| 80 | help |
| 81 | Select this option to add a System Agent binary to |
| 82 | the resulting coreboot image. |
| 83 | |
| 84 | Note: Without this binary coreboot will not work |
| 85 | |
| 86 | config MRC_FILE |
| 87 | string "Intel System Agent path and filename" |
| 88 | depends on HAVE_MRC |
| 89 | default "mrc.bin" |
| 90 | help |
| 91 | The path and filename of the file to use as System Agent |
| 92 | binary. |
| 93 | |
Stefan Reinauer | f1aabec | 2014-01-22 15:16:30 -0800 | [diff] [blame] | 94 | config PRE_GRAPHICS_DELAY |
Stefan Reinauer | 7034b9e | 2014-02-11 16:18:07 -0800 | [diff] [blame] | 95 | int "Graphics initialization delay in ms" |
Stefan Reinauer | f1aabec | 2014-01-22 15:16:30 -0800 | [diff] [blame] | 96 | default 0 |
| 97 | help |
| 98 | On some systems, coreboot boots so fast that connected monitors |
| 99 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 100 | VBIOS. On those systems we need to wait for a bit before executing |
| 101 | the VBIOS. |
| 102 | |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame] | 103 | # The UEFI System Agent binary needs to be at a fixed offset in the flash |
| 104 | # and can therefore only reside in the COREBOOT fmap region |
| 105 | config RO_REGION_ONLY |
| 106 | string |
| 107 | depends on VBOOT |
| 108 | default "mrc.bin" |
| 109 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 110 | endif |