Add a Kconfig value to enable display of FSP header. Move the display code into a separate module to remove it entirely from the final image. TEST=Build and run on Galileo Gen2 Change-Id: I7047a9e58e6a6481c8453dbfebfbfe69dc8823d8 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/16002 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
90 lines
2.3 KiB
Plaintext
90 lines
2.3 KiB
Plaintext
#
|
|
# This file is part of the coreboot project.
|
|
#
|
|
# Copyright (C) 2015-2016 Intel Corp.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
|
|
config PLATFORM_USES_FSP2_0
|
|
bool
|
|
select UEFI_2_4_BINDING
|
|
help
|
|
Include FSP 2.0 wrappers and functionality
|
|
|
|
if PLATFORM_USES_FSP2_0
|
|
|
|
config ADD_FSP_BINARIES
|
|
bool "Add Intel FSP 2.0 binaries to CBFS"
|
|
help
|
|
Add the FSP-M and FSP-S binaries to CBFS. Currently coreboot does not
|
|
use the FSP-T binary and it is not added.
|
|
|
|
config DISPLAY_FSP_CALLS_AND_STATUS
|
|
bool "Display the FSP calls and status"
|
|
default n
|
|
help
|
|
Display the FSP call entry point and parameters prior to calling FSP
|
|
and display the status upon return from FSP.
|
|
|
|
config DISPLAY_FSP_HEADER
|
|
bool "Display the FSP header"
|
|
default n
|
|
help
|
|
Display the FSP header information when the FSP file is found.
|
|
|
|
config DISPLAY_HOBS
|
|
bool "Display the hand-off-blocks"
|
|
default n
|
|
help
|
|
Display the FSP HOBs which are provided for coreboot.
|
|
|
|
config DISPLAY_UPD_DATA
|
|
bool "Display UPD data"
|
|
default n
|
|
help
|
|
Display the user specified product data prior to memory
|
|
initialization.
|
|
|
|
config FSP_S_CBFS
|
|
string "Name of FSP-S in CBFS"
|
|
default "fsps.bin"
|
|
|
|
config FSP_M_CBFS
|
|
string "Name of FSP-M in CBFS"
|
|
default "fspm.bin"
|
|
|
|
config FSP_M_FILE
|
|
string "Intel FSP-M (memory init) binary path and filename"
|
|
depends on ADD_FSP_BINARIES
|
|
help
|
|
The path and filename of the Intel FSP-M binary for this platform.
|
|
|
|
config FSP_S_FILE
|
|
string "Intel FSP-S (silicon init) binary path and filename"
|
|
depends on ADD_FSP_BINARIES
|
|
help
|
|
The path and filename of the Intel FSP-S binary for this platform.
|
|
|
|
config FSP_M_XIP
|
|
bool "Is FSP-M XIP"
|
|
default n
|
|
help
|
|
Select this value when FSP-M is execute-in-place.
|
|
|
|
config VERIFY_HOBS
|
|
bool "Verify the FSP hand-off-blocks"
|
|
default n
|
|
help
|
|
Verify that the HOBs required by coreboot are returned by FSP and
|
|
that the resource HOBs are in the correct order and position.
|
|
|
|
endif
|