summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common/psp_verstage/Kconfig
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2021-09-10 12:03:30 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-09-27 13:40:03 +0000
commitc2f6f35b3a23a8c598dc0f13f7248f3567d8aaa2 (patch)
tree9d3745fa31e40500027703bacc2e4dc104f4dfb9 /src/soc/amd/common/psp_verstage/Kconfig
parentf0d9c1212c784158ee4e06e85feb19544e82cd65 (diff)
downloadcoreboot-c2f6f35b3a23a8c598dc0f13f7248f3567d8aaa2.tar.gz
coreboot-c2f6f35b3a23a8c598dc0f13f7248f3567d8aaa2.tar.bz2
coreboot-c2f6f35b3a23a8c598dc0f13f7248f3567d8aaa2.zip
soc/amd/common/psp_verstage: Introduce boot device driver
PSP verstage can access the boot device either in Programmed I/O mode or DMA mode. Introduce a boot device driver and use the appropriate mode based on the SoC support. BUG=b:194990811 TEST=Build and boot to OS in Guybrush. Change-Id: I8ca5290156199548916852e48f4e11de7cb886fb Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57563 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/psp_verstage/Kconfig')
-rw-r--r--src/soc/amd/common/psp_verstage/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/common/psp_verstage/Kconfig b/src/soc/amd/common/psp_verstage/Kconfig
new file mode 100644
index 000000000000..834abaaa5ffb
--- /dev/null
+++ b/src/soc/amd/common/psp_verstage/Kconfig
@@ -0,0 +1,7 @@
+config PSP_VERSTAGE_CCP_DMA
+ bool
+ default n
+ help
+ Configure PSP Verstage to use Crypto Co-processor (CCP) DMA while
+ accessing the boot device. Select it on platforms which supports
+ using CCP DMA to access the boot device.