summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/Kconfig
blob: d4017d0fbaf907f407203966fe7642f34b75fe13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# This file is part of the coreboot project.
#
#
# SPDX-License-Identifier: GPL-2.0-only

if CPU_AMD_AGESA || CPU_AMD_PI || SOC_AMD_PI

menu "AMD Platform Initialization"

choice
	prompt "AGESA source"
	default CPU_AMD_AGESA_BINARY_PI if CPU_AMD_PI
	default CPU_AMD_AGESA_BINARY_PI if SOC_AMD_PI
	default CPU_AMD_AGESA_OPENSOURCE if CPU_AMD_AGESA
	help
	  Select the method for including the AMD Platform Initialization
	  code into coreboot.  Platform Initialization code is required for
	  all AMD processors.

config CPU_AMD_AGESA_BINARY_PI
	bool "binary PI"
	help
	  Use a binary PI package.  Generally, these will be stored in the
	  "3rdparty/blobs" directory.  For some processors, these must be obtained
	  directly from AMD Embedded Processors Group
	  (http://www.amdcom/embedded).

config CPU_AMD_AGESA_OPENSOURCE
	bool "open-source AGESA"
	help
	  Build the PI package ("AGESA") from source code in the "vendorcode"
	  directory.

endchoice

if CPU_AMD_AGESA_BINARY_PI
source "src/vendorcode/amd/pi/Kconfig"
endif

config AGESA_EXTRA_TIMESTAMPS
	bool "Add instrumentation for AGESA calls"
	default n
	depends on DRIVERS_AMD_PI
	help
	  Insert additional timestamps around each entrypoint into
	  AGESA vendorcode.

endmenu

endif