blob: 06ce37194663c20898034811265755dbb88902eb [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001##
2## This file is part of the coreboot project.
3##
Aaron Durbin76c37002012-10-30 09:03:43 -05004##
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 Durbin76c37002012-10-30 09:03:43 -050014
15config NORTHBRIDGE_INTEL_HASWELL
16 bool
Aaron Durbin76c37002012-10-30 09:03:43 -050017 select CPU_INTEL_HASWELL
Arthur Heymansf300f362018-01-27 13:39:12 +010018 select CACHE_MRC_SETTINGS
Furquan Shaikh77f48cd2013-08-19 10:16:50 -070019 select INTEL_DDI
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010020 select INTEL_GMA_ACPI
Arthur Heymansd893a262018-12-19 16:54:06 +010021 select BOOTBLOCK_CONSOLE
Aaron Durbin76c37002012-10-30 09:03:43 -050022
23if NORTHBRIDGE_INTEL_HASWELL
24
Arthur Heymans77d5e742019-01-03 21:11:45 +010025config 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 Kitching82d73e22019-04-30 13:13:40 +080035 Haswell however uses a mrc.bin to initialize memory which
Arthur Heymans77d5e742019-01-03 21:11:45 +010036 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 Werner1210b412017-03-27 19:26:32 -070041config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080042 select VBOOT_MUST_REQUEST_DISPLAY
Arthur Heymans77d5e742019-01-03 21:11:45 +010043 select VBOOT_STARTS_IN_ROMSTAGE if !HASWELL_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070044
Aaron Durbin76c37002012-10-30 09:03:43 -050045config VGA_BIOS_ID
46 string
47 default "8086,0166"
48
Elyes HAOUASef169d62018-09-14 10:28:52 +020049config MMCONF_BASE_ADDRESS
50 hex
51 default 0xf0000000
52
Aaron Durbin76c37002012-10-30 09:03:43 -050053config DCACHE_RAM_BASE
54 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060055 default 0xff7c0000
Aaron Durbin76c37002012-10-30 09:03:43 -050056
57config DCACHE_RAM_SIZE
58 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060059 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 Durbin76c37002012-10-30 09:03:43 -050064
65config DCACHE_RAM_MRC_VAR_SIZE
66 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060067 default 0x30000
68 help
69 The amount of cache-as-ram region required by the reference code.
70
Arthur Heymans8e646e72018-06-05 11:19:22 +020071config 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 Durbin76c37002012-10-30 09:03:43 -050078config 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
86config 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 Reinauerf1aabec2014-01-22 15:16:30 -080094config PRE_GRAPHICS_DELAY
Stefan Reinauer7034b9e2014-02-11 16:18:07 -080095 int "Graphics initialization delay in ms"
Stefan Reinauerf1aabec2014-01-22 15:16:30 -080096 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 Heymans77d5e742019-01-03 21:11:45 +0100103# 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
105config RO_REGION_ONLY
106 string
107 depends on VBOOT
108 default "mrc.bin"
109
Nico Huber612a8672019-02-19 19:11:29 +0100110config INTEL_GMA_BCLV_OFFSET
111 default 0x48254
112
Aaron Durbin76c37002012-10-30 09:03:43 -0500113endif