summaryrefslogtreecommitdiff
path: root/src/soc/amd/genoa/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/genoa/Kconfig')
-rw-r--r--src/soc/amd/genoa/Kconfig60
1 files changed, 59 insertions, 1 deletions
diff --git a/src/soc/amd/genoa/Kconfig b/src/soc/amd/genoa/Kconfig
index 0331e36518..705805edc8 100644
--- a/src/soc/amd/genoa/Kconfig
+++ b/src/soc/amd/genoa/Kconfig
@@ -74,4 +74,62 @@ config ROMSTAGE_SIZE
help
Sets the size of DRAM allocation for romstage in linker script.
-endif
+menu "PSP Configuration Options"
+
+config AMDFW_CONFIG_FILE
+ string
+ default "src/soc/amd/genoa/fw.cfg"
+
+config PSP_DISABLE_POSTCODES
+ bool "Disable PSP post codes"
+ help
+ Disables the output of port80 post codes from PSP.
+
+config PSP_INIT_ESPI
+ bool "Initialize eSPI in PSP Stage 2 Boot Loader"
+ help
+ Select to initialize the eSPI controller in the PSP Stage 2 Boot
+ Loader.
+
+config PSP_UNLOCK_SECURE_DEBUG
+ bool
+ default y
+
+config HAVE_PSP_WHITELIST_FILE
+ bool "Include a debug whitelist file in PSP build"
+ default n
+ help
+ Support secured unlock prior to reset using a whitelisted
+ serial number. This feature requires a signed whitelist image
+ and bootloader from AMD.
+
+ If unsure, answer 'n'
+
+config PSP_WHITELIST_FILE
+ string "Debug whitelist file path"
+ depends on HAVE_PSP_WHITELIST_FILE
+
+config HAVE_SPL_FILE
+ bool
+
+config SPL_TABLE_FILE
+ string "SPL table file"
+ depends on HAVE_SPL_FILE
+ default "3rdparty/amd_blobs_internal/genoa/PSP/Typex55_0_0_0_BLAntiRB.bin"
+
+config PSP_SOFTFUSE_BITS
+ string "PSP Soft Fuse bits to enable"
+ default ""
+ help
+ Space separated list of Soft Fuse bits to enable.
+ Bit 0: Enable secure debug (Set by PSP_UNLOCK_SECURE_DEBUG)
+ Bit 7: Disable PSP postcodes on Renoir and newer chips only
+ (Set by PSP_DISABLE_PORT80)
+ Bit 15: PSP debug output destination:
+ 0=SoC MMIO UART, 1=IO port 0x3F8
+
+ See #57299 (NDA) for additional bit definitions.
+endmenu
+
+
+endif # SOC_AMD_GENOA