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 | ## |
| 15 | ## You should have received a copy of the GNU General Public License |
| 16 | ## along with this program; if not, write to the Free Software |
| 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | config NORTHBRIDGE_INTEL_HASWELL |
| 21 | bool |
| 22 | select CACHE_MRC_BIN |
| 23 | select CPU_INTEL_HASWELL |
| 24 | select REQUIRES_BLOB |
Kyösti Mälkki | 15c4ab7 | 2013-07-02 11:37:35 +0300 | [diff] [blame] | 25 | select MMCONF_SUPPORT |
Aaron Durbin | 6d04f0f | 2012-10-31 22:57:16 -0500 | [diff] [blame] | 26 | select MMCONF_SUPPORT_DEFAULT |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 27 | |
| 28 | if NORTHBRIDGE_INTEL_HASWELL |
| 29 | |
Aaron Durbin | 6d04f0f | 2012-10-31 22:57:16 -0500 | [diff] [blame] | 30 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 31 | string |
| 32 | default "northbridge/intel/haswell/bootblock.c" |
| 33 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 34 | config VGA_BIOS_ID |
| 35 | string |
| 36 | default "8086,0166" |
| 37 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 38 | config CACHE_MRC_SIZE_KB |
| 39 | int |
| 40 | default 512 |
| 41 | |
| 42 | # FIXME: build from rom size |
| 43 | config MRC_CACHE_BASE |
| 44 | hex |
| 45 | default 0xff800000 |
| 46 | |
| 47 | config MRC_CACHE_LOCATION |
| 48 | hex |
| 49 | depends on !CHROMEOS |
| 50 | default 0x370000 |
| 51 | |
| 52 | config MRC_CACHE_SIZE |
| 53 | hex |
| 54 | depends on !CHROMEOS |
| 55 | default 0x10000 |
| 56 | |
| 57 | config DCACHE_RAM_BASE |
| 58 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 59 | default 0xff7c0000 |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 60 | |
| 61 | config DCACHE_RAM_SIZE |
| 62 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 63 | default 0x10000 |
| 64 | help |
| 65 | The size of the cache-as-ram region required during bootblock |
| 66 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 67 | must add up to a power of 2. |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 68 | |
| 69 | config DCACHE_RAM_MRC_VAR_SIZE |
| 70 | hex |
Aaron Durbin | 3d0071b | 2013-01-18 14:32:50 -0600 | [diff] [blame] | 71 | default 0x30000 |
| 72 | help |
| 73 | The amount of cache-as-ram region required by the reference code. |
| 74 | |
| 75 | config DCACHE_RAM_ROMSTAGE_STACK_SIZE |
| 76 | hex |
| 77 | default 0x2000 |
| 78 | help |
| 79 | The amount of anticipated stack usage from the data cache |
| 80 | during pre-ram rom stage execution. |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 81 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 82 | config HAVE_MRC |
| 83 | bool "Add a System Agent binary" |
| 84 | help |
| 85 | Select this option to add a System Agent binary to |
| 86 | the resulting coreboot image. |
| 87 | |
| 88 | Note: Without this binary coreboot will not work |
| 89 | |
| 90 | config MRC_FILE |
| 91 | string "Intel System Agent path and filename" |
| 92 | depends on HAVE_MRC |
| 93 | default "mrc.bin" |
| 94 | help |
| 95 | The path and filename of the file to use as System Agent |
| 96 | binary. |
| 97 | |
| 98 | config CBFS_SIZE |
| 99 | hex "Size of CBFS filesystem in ROM" |
| 100 | default 0x100000 |
| 101 | help |
| 102 | On Haswell systems the firmware image has to store a lot more |
| 103 | than just coreboot, including: |
| 104 | - a firmware descriptor |
| 105 | - Intel Management Engine firmware |
| 106 | - MRC cache information |
| 107 | This option allows to limit the size of the CBFS portion in the |
| 108 | firmware image. |
| 109 | |
| 110 | endif |