Karthik Ramasubramanian has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62668 )
Change subject: soc/amd/cezanne/psp_verstage: Log the platform boot mode report ......................................................................
soc/amd/cezanne/psp_verstage: Log the platform boot mode report
Log the platform boot mode reported by PSP verstage to PSP stage 1 bootloader. This helps to improve the debuggability.
BUG=b:193050286 TEST=Build and Boot to OS in Nipperkin. Ensure that the platform boot mode is logged in the verstage logs.
Signed-off-by: Karthikeyan Ramasubramanian kramasub@google.com Change-Id: I752ee56f2af48215a770d799432d02f0609757cd --- M src/soc/amd/cezanne/psp_verstage/chipset.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/62668/1
diff --git a/src/soc/amd/cezanne/psp_verstage/chipset.c b/src/soc/amd/cezanne/psp_verstage/chipset.c index 41d318e..16950fb 100644 --- a/src/soc/amd/cezanne/psp_verstage/chipset.c +++ b/src/soc/amd/cezanne/psp_verstage/chipset.c @@ -35,6 +35,8 @@
void platform_report_mode(int developer_mode_enabled) { + printk(BIOS_INFO, "Reporting %s mode\n", + developer_mode_enabled ? "Developer" : "Production"); if (developer_mode_enabled) svc_set_platform_boot_mode(CHROME_BOOK_BOOT_MODE_DEVELOPER); else