blob: 3ab90963fea44f125896d53d8d2c6f501817d10b [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Lee Leahy3dad4892015-05-05 11:14:02 -07002
Lee Leahyb5ad8272015-04-20 15:29:16 -07003config PLATFORM_USES_FSP1_1
Vladimir Serbinenko1cac2c92015-05-30 22:30:13 +02004 bool
Julius Werner29fbfcc2020-03-02 15:54:43 -08005 depends on !VBOOT_STARTS_IN_BOOTBLOCK
Aaron Durbin789f2b62015-09-09 17:05:06 -05006 select UEFI_2_4_BINDING
Nico Huber29cc3312018-06-06 17:40:02 +02007 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
Kyösti Mälkkid60e9ab2019-12-21 10:14:15 +02008 select MICROCODE_UPDATE_PRE_RAM
Lee Leahy3dad4892015-05-05 11:14:02 -07009 help
Lee Leahyb5ad8272015-04-20 15:29:16 -070010 Does the code require the Intel Firmware Support Package?
Lee Leahy3dad4892015-05-05 11:14:02 -070011
Lee Leahyb5ad8272015-04-20 15:29:16 -070012if PLATFORM_USES_FSP1_1
Lee Leahy3dad4892015-05-05 11:14:02 -070013
Martin Roth128043e2015-06-23 21:58:32 -060014comment "Intel FSP 1.1"
15
Matt DeVillier61309e32019-04-23 12:21:17 -050016config FSP_USE_REPO
17 bool "Use FSP binary from 3rdparty/fsp repo"
18 select HAVE_FSP_BIN
19 depends on SOC_INTEL_BRASWELL && !USE_GOOGLE_FSP
20 default y
21
Lee Leahyb5ad8272015-04-20 15:29:16 -070022config HAVE_FSP_BIN
Matt DeVillier61309e32019-04-23 12:21:17 -050023 bool "Add Intel FSP binary to flash image"
Lee Leahyb5ad8272015-04-20 15:29:16 -070024 help
25 Select this option to add an Intel FSP binary to
26 the resulting coreboot image.
27
28 Note: Without this binary, coreboot builds relying on the FSP
29 will not boot
30
Matt DeVillier61309e32019-04-23 12:21:17 -050031config FSP_FILE
32 string
33 prompt "Intel FSP binary path and filename" if !FSP_USE_REPO
34 depends on HAVE_FSP_BIN
35 default "3rdparty/fsp/BraswellFspBinPkg/FspBin/BSWFSP.fd" if FSP_USE_REPO
36 default ""
37 help
38 The path and filename of the Intel FSP binary for this platform.
39
40config FSP_LOC
41 hex "Intel FSP Binary location in CBFS"
42 default 0xfff6e000 if SOC_INTEL_BRASWELL && USE_GOOGLE_FSP
43 default 0xfff20000 if SOC_INTEL_BRASWELL
44 default 0xffee0000 if SOC_INTEL_SKYLAKE
45 help
46 The location in CBFS that the FSP is located. This must match the
47 value that is set in the FSP binary. If the FSP needs to be moved,
48 rebase the FSP with Intel's BCT (tool).
49
Lee Leahyb5ad8272015-04-20 15:29:16 -070050config DISPLAY_HOBS
51 bool "Display hand-off-blocks (HOBs)"
52 default n
53
54config DISPLAY_VBT
55 bool "Display Video BIOS Table (VBT)"
56 default n
57
58config DISPLAY_FSP_ENTRY_POINTS
59 bool "Display FSP entry points"
60 default n
61
62config DISPLAY_UPD_DATA
63 bool "Display UPD data"
64 default n
65 help
66 Display the user specified product data prior to memory
67 initialization.
68
Lee Leahy3dad4892015-05-05 11:14:02 -070069config USE_GENERIC_FSP_CAR_INC
70 bool
71 default n
72 help
73 The chipset can select this to use a generic cache_as_ram.inc file
74 that should be good for all FSP based platforms.
75
Nico Huber2f1ef982018-11-07 16:24:50 +010076config SKIP_FSP_CAR
77 def_bool n
78 help
79 Selected by platforms that implement their own CAR setup.
80
Kyösti Mälkki4949a3d2021-01-09 20:38:43 +020081config BMP_LOGO
Frans Hendriks50b999f2019-11-08 13:55:45 +010082 bool "Enable logo"
83 default n
84 help
85 Uses the FSP to display the boot logo. This method supports a
86 BMP file only. The uncompressed size can be up to 1 MB.
87
88config FSP1_1_LOGO_FILE_NAME
89 string "Logo file"
Kyösti Mälkki4949a3d2021-01-09 20:38:43 +020090 depends on BMP_LOGO
Patrick Georgib8fba862020-06-17 21:06:53 +020091 default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/logo.bmp"
Frans Hendriks50b999f2019-11-08 13:55:45 +010092
Lee Leahyb5ad8272015-04-20 15:29:16 -070093endif #PLATFORM_USES_FSP1_1