summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/Kconfig
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2020-02-20 13:54:06 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-05-20 00:20:07 +0000
commit49b09a06a912952ec7a3063660370bdf732e4f48 (patch)
tree2b7049984de6ecadffc7eb2b1518cc2147f1f416 /src/soc/amd/picasso/Kconfig
parent28d4275622dd66132b2849c09b33684dd6553ff1 (diff)
soc/amd/picasso: Add Kconfig option for the PSP bootloader filename
Add option to change bootloader file. BUG=b:149934526 TEST=Change option and verify new bootloader file is used. Using the amd_blobs I can only boot using PspBootLoader_test_RV_dbg.sbin. Change-Id: Ib6597f7d4ffa0d48aead6974bd7111c987418f20 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2067598 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41436 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/amd/picasso/Kconfig')
-rw-r--r--src/soc/amd/picasso/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 71630b8d9e..2578b468aa 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -341,10 +341,20 @@ config HAVE_PSP_WHITELIST_FILE
If unsure, answer 'n'
config PSP_WHITELIST_FILE
- string "Debug whitelist file name"
+ string "Debug whitelist file path"
depends on HAVE_PSP_WHITELIST_FILE
default "3rdparty/amd_blobs/picasso/PSP/wtl-rvn.sbin"
+config PSP_BOOTLOADER_FILE
+ string "Specify the PSP Bootloader file path"
+ default "3rdparty/amd_blobs/picasso/PSP/PspBootLoader_WL_RV.sbin" if HAVE_PSP_WHITELIST_FILE
+ default "3rdparty/amd_blobs/picasso/PSP/PspBootLoader_prod_RV.sbin"
+ help
+ Supply the name of the PSP bootloader file.
+
+ Note that this option may conflict with the whitelist file if a
+ different PSP bootloader binary is specified.
+
config PSP_UNLOCK_SECURE_DEBUG
bool "Unlock secure debug"
default n