blob: 8c1e0b18f7db2679a532bb9c3305b9d1c0b1bde4 [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001##
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 Durbin76c37002012-10-30 09:03:43 -050015
16config NORTHBRIDGE_INTEL_HASWELL
17 bool
Aaron Durbin76c37002012-10-30 09:03:43 -050018 select CPU_INTEL_HASWELL
Arthur Heymansf300f362018-01-27 13:39:12 +010019 select CACHE_MRC_SETTINGS
Furquan Shaikh77f48cd2013-08-19 10:16:50 -070020 select INTEL_DDI
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010021 select INTEL_GMA_ACPI
Arthur Heymans410f2562017-01-25 15:27:52 +010022 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
Arthur Heymans88af0f32018-06-03 12:37:54 +020023 select POSTCAR_STAGE
24 select POSTCAR_CONSOLE
Arthur Heymans8e646e72018-06-05 11:19:22 +020025 select C_ENVIRONMENT_BOOTBLOCK
Arthur Heymansd893a262018-12-19 16:54:06 +010026 select BOOTBLOCK_CONSOLE
Aaron Durbin76c37002012-10-30 09:03:43 -050027
28if NORTHBRIDGE_INTEL_HASWELL
29
Arthur Heymans77d5e742019-01-03 21:11:45 +010030config 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 Werner1210b412017-03-27 19:26:32 -070046config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080047 select VBOOT_MUST_REQUEST_DISPLAY
Arthur Heymans77d5e742019-01-03 21:11:45 +010048 select VBOOT_STARTS_IN_ROMSTAGE if !HASWELL_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070049
Aaron Durbin76c37002012-10-30 09:03:43 -050050config VGA_BIOS_ID
51 string
52 default "8086,0166"
53
Elyes HAOUASef169d62018-09-14 10:28:52 +020054config MMCONF_BASE_ADDRESS
55 hex
56 default 0xf0000000
57
Aaron Durbin76c37002012-10-30 09:03:43 -050058config CACHE_MRC_SIZE_KB
59 int
60 default 512
61
Aaron Durbin76c37002012-10-30 09:03:43 -050062config DCACHE_RAM_BASE
63 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060064 default 0xff7c0000
Aaron Durbin76c37002012-10-30 09:03:43 -050065
66config DCACHE_RAM_SIZE
67 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060068 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 Durbin76c37002012-10-30 09:03:43 -050073
74config DCACHE_RAM_MRC_VAR_SIZE
75 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060076 default 0x30000
77 help
78 The amount of cache-as-ram region required by the reference code.
79
Arthur Heymans8e646e72018-06-05 11:19:22 +020080config 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 Durbin76c37002012-10-30 09:03:43 -050087config 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
95config 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 Reinauerf1aabec2014-01-22 15:16:30 -0800103config PRE_GRAPHICS_DELAY
Stefan Reinauer7034b9e2014-02-11 16:18:07 -0800104 int "Graphics initialization delay in ms"
Stefan Reinauerf1aabec2014-01-22 15:16:30 -0800105 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 Heymans77d5e742019-01-03 21:11:45 +0100112# 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
114config RO_REGION_ONLY
115 string
116 depends on VBOOT
117 default "mrc.bin"
118
Aaron Durbin76c37002012-10-30 09:03:43 -0500119endif