Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 2 | |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 3 | config PLATFORM_USES_FSP1_1 |
Vladimir Serbinenko | 1cac2c9 | 2015-05-30 22:30:13 +0200 | [diff] [blame] | 4 | bool |
Julius Werner | 29fbfcc | 2020-03-02 15:54:43 -0800 | [diff] [blame] | 5 | depends on !VBOOT_STARTS_IN_BOOTBLOCK |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 6 | select UEFI_2_4_BINDING |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 7 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Kyösti Mälkki | d60e9ab | 2019-12-21 10:14:15 +0200 | [diff] [blame] | 8 | select MICROCODE_UPDATE_PRE_RAM |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 9 | help |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 10 | Does the code require the Intel Firmware Support Package? |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 11 | |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 12 | if PLATFORM_USES_FSP1_1 |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 13 | |
Martin Roth | 128043e | 2015-06-23 21:58:32 -0600 | [diff] [blame] | 14 | comment "Intel FSP 1.1" |
| 15 | |
Matt DeVillier | 61309e3 | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 16 | config 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 Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 22 | config HAVE_FSP_BIN |
Matt DeVillier | 61309e3 | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 23 | bool "Add Intel FSP binary to flash image" |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 24 | 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 DeVillier | 61309e3 | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 31 | config 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 | |
| 40 | config 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 Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 50 | config DISPLAY_HOBS |
| 51 | bool "Display hand-off-blocks (HOBs)" |
| 52 | default n |
| 53 | |
| 54 | config DISPLAY_VBT |
| 55 | bool "Display Video BIOS Table (VBT)" |
| 56 | default n |
| 57 | |
| 58 | config DISPLAY_FSP_ENTRY_POINTS |
| 59 | bool "Display FSP entry points" |
| 60 | default n |
| 61 | |
| 62 | config 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 Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 69 | config 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 Huber | 2f1ef98 | 2018-11-07 16:24:50 +0100 | [diff] [blame] | 76 | config SKIP_FSP_CAR |
| 77 | def_bool n |
| 78 | help |
| 79 | Selected by platforms that implement their own CAR setup. |
| 80 | |
Kyösti Mälkki | 4949a3d | 2021-01-09 20:38:43 +0200 | [diff] [blame] | 81 | config BMP_LOGO |
Frans Hendriks | 50b999f | 2019-11-08 13:55:45 +0100 | [diff] [blame] | 82 | 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 | |
| 88 | config FSP1_1_LOGO_FILE_NAME |
| 89 | string "Logo file" |
Kyösti Mälkki | 4949a3d | 2021-01-09 20:38:43 +0200 | [diff] [blame] | 90 | depends on BMP_LOGO |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 91 | default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/logo.bmp" |
Frans Hendriks | 50b999f | 2019-11-08 13:55:45 +0100 | [diff] [blame] | 92 | |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 93 | endif #PLATFORM_USES_FSP1_1 |