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>
13 lines
285 B
Text
13 lines
285 B
Text
config SOC_AMD_COMMON
|
|
bool
|
|
help
|
|
common code blocks for AMD SOCs
|
|
|
|
if SOC_AMD_COMMON
|
|
|
|
source "src/soc/amd/common/block/*/Kconfig"
|
|
source "src/soc/amd/common/fsp/Kconfig"
|
|
source "src/soc/amd/common/pi/Kconfig"
|
|
source "src/soc/amd/common/psp_verstage/Kconfig"
|
|
|
|
endif # SOC_AMD_COMMON
|