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 |
Alexander Couzens | 92fc072 | 2016-03-09 14:36:46 +0100 | [diff] [blame] | 19 | select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE |
Furquan Shaikh | 77f48cd | 2013-08-19 10:16:50 -0700 | [diff] [blame] | 20 | select INTEL_DDI |
| 21 | select INTEL_DP |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 22 | select INTEL_GMA_ACPI |
Arthur Heymans | 410f256 | 2017-01-25 15:27:52 +0100 | [diff] [blame] | 23 | select RELOCATABLE_RAMSTAGE |
| 24 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 25 | |
| 26 | if NORTHBRIDGE_INTEL_HASWELL |
| 27 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame^] | 28 | config VBOOT |
| 29 | select VBOOT_STARTS_IN_ROMSTAGE |
| 30 | |
Aaron Durbin | 6d04f0f | 2012-10-31 22:57:16 -0500 | [diff] [blame] | 31 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 32 | string |
| 33 | default "northbridge/intel/haswell/bootblock.c" |
| 34 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 35 | config VGA_BIOS_ID |
| 36 | string |
| 37 | default "8086,0166" |
| 38 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 39 | config CACHE_MRC_SIZE_KB |
| 40 | int |
| 41 | default 512 |
| 42 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 43 | config MRC_CACHE_SIZE |
| 44 | hex |
| 45 | depends on !CHROMEOS |
| 46 | default 0x10000 |
| 47 | |
| 48 | config DCACHE_RAM_BASE |
| 49 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 50 | default 0xff7c0000 |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 51 | |
| 52 | config DCACHE_RAM_SIZE |
| 53 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 54 | default 0x10000 |
| 55 | help |
| 56 | The size of the cache-as-ram region required during bootblock |
| 57 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 58 | must add up to a power of 2. |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 59 | |
| 60 | config DCACHE_RAM_MRC_VAR_SIZE |
| 61 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 62 | default 0x30000 |
| 63 | help |
| 64 | The amount of cache-as-ram region required by the reference code. |
| 65 | |
| 66 | config DCACHE_RAM_ROMSTAGE_STACK_SIZE |
| 67 | hex |
| 68 | default 0x2000 |
| 69 | help |
| 70 | The amount of anticipated stack usage from the data cache |
Elyes HAOUAS | 15279a9 | 2016-07-28 21:05:26 +0200 | [diff] [blame] | 71 | during pre-ram ROM stage execution. |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 72 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 73 | config HAVE_MRC |
| 74 | bool "Add a System Agent binary" |
| 75 | help |
| 76 | Select this option to add a System Agent binary to |
| 77 | the resulting coreboot image. |
| 78 | |
| 79 | Note: Without this binary coreboot will not work |
| 80 | |
| 81 | config MRC_FILE |
| 82 | string "Intel System Agent path and filename" |
| 83 | depends on HAVE_MRC |
| 84 | default "mrc.bin" |
| 85 | help |
| 86 | The path and filename of the file to use as System Agent |
| 87 | binary. |
| 88 | |
Stefan Reinauer | f1aabec | 2014-01-22 15:16:30 -0800 | [diff] [blame] | 89 | config PRE_GRAPHICS_DELAY |
Stefan Reinauer | 7034b9e | 2014-02-11 16:18:07 -0800 | [diff] [blame] | 90 | int "Graphics initialization delay in ms" |
Stefan Reinauer | f1aabec | 2014-01-22 15:16:30 -0800 | [diff] [blame] | 91 | default 0 |
| 92 | help |
| 93 | On some systems, coreboot boots so fast that connected monitors |
| 94 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 95 | VBIOS. On those systems we need to wait for a bit before executing |
| 96 | the VBIOS. |
| 97 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 98 | endif |