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