src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / vendorcode / amd / Kconfig
blobd4017d0fbaf907f407203966fe7642f34b75fe13
2 # This file is part of the coreboot project.
5 # SPDX-License-Identifier: GPL-2.0-only
7 if CPU_AMD_AGESA || CPU_AMD_PI || SOC_AMD_PI
9 menu "AMD Platform Initialization"
11 choice
12         prompt "AGESA source"
13         default CPU_AMD_AGESA_BINARY_PI if CPU_AMD_PI
14         default CPU_AMD_AGESA_BINARY_PI if SOC_AMD_PI
15         default CPU_AMD_AGESA_OPENSOURCE if CPU_AMD_AGESA
16         help
17           Select the method for including the AMD Platform Initialization
18           code into coreboot.  Platform Initialization code is required for
19           all AMD processors.
21 config CPU_AMD_AGESA_BINARY_PI
22         bool "binary PI"
23         help
24           Use a binary PI package.  Generally, these will be stored in the
25           "3rdparty/blobs" directory.  For some processors, these must be obtained
26           directly from AMD Embedded Processors Group
27           (http://www.amdcom/embedded).
29 config CPU_AMD_AGESA_OPENSOURCE
30         bool "open-source AGESA"
31         help
32           Build the PI package ("AGESA") from source code in the "vendorcode"
33           directory.
35 endchoice
37 if CPU_AMD_AGESA_BINARY_PI
38 source "src/vendorcode/amd/pi/Kconfig"
39 endif
41 config AGESA_EXTRA_TIMESTAMPS
42         bool "Add instrumentation for AGESA calls"
43         default n
44         depends on DRIVERS_AMD_PI
45         help
46           Insert additional timestamps around each entrypoint into
47           AGESA vendorcode.
49 endmenu
51 endif