xref: /aosp_15_r20/external/coreboot/src/drivers/intel/fsp1_1/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config PLATFORM_USES_FSP1_1
4	bool
5	depends on !VBOOT_STARTS_IN_BOOTBLOCK
6	select UEFI_2_4_BINDING
7	select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
8	select MICROCODE_UPDATE_PRE_RAM
9	help
10	  Does the code require the Intel Firmware Support Package?
11
12if PLATFORM_USES_FSP1_1
13
14comment "Intel FSP 1.1"
15
16config 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
22config HAVE_FSP_BIN
23	bool "Add Intel FSP binary to flash image"
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
31config 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
50config 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
69config 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
76config SKIP_FSP_CAR
77	def_bool n
78	help
79	  Selected by platforms that implement their own CAR setup.
80
81config BMP_LOGO
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
88config FSP1_1_LOGO_FILE_NAME
89	string "Logo file"
90	depends on BMP_LOGO
91	default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/logo.bmp"
92
93endif #PLATFORM_USES_FSP1_1
94