summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorKangheui Won <khwon@chromium.org>2022-01-25 18:55:04 +1100
committerRaul Rangel <rrangel@chromium.org>2022-02-01 22:32:18 +0000
commit7e91db714853fcc55b1bc63707f1618908bbf8dd (patch)
tree31b08cddb00fa4ec9bf00231125e6a14881148f0 /src/soc/amd/picasso
parent506ca3ef4e78d3b32cddfe81eeaa10af86fd57b6 (diff)
downloadcoreboot-7e91db714853fcc55b1bc63707f1618908bbf8dd.tar.gz
coreboot-7e91db714853fcc55b1bc63707f1618908bbf8dd.tar.bz2
coreboot-7e91db714853fcc55b1bc63707f1618908bbf8dd.zip
psp_verstage: report developer mode to PSP
Add platform_report_mode function which report current developer mode status to the PSP. L1 widevine app in the PSP will use this information to select key box. BUG=b:211058864 TEST=build and boot guybrush TEST=build picasso chrome os boards Signed-off-by: Kangheui Won <khwon@chromium.org> Change-Id: I04b5fcfa338b485b36f1b946203f32823385c0b1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61369 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/psp_verstage/chipset.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/psp_verstage/chipset.c b/src/soc/amd/picasso/psp_verstage/chipset.c
index 9577a5b632aa..4bdb873b176e 100644
--- a/src/soc/amd/picasso/psp_verstage/chipset.c
+++ b/src/soc/amd/picasso/psp_verstage/chipset.c
@@ -38,3 +38,9 @@ int platform_set_sha_op(enum vb2_hash_algorithm hash_alg,
}
return 0;
}
+
+void platform_report_mode(int developer_mode_enabled)
+{
+ /* Picasso PSP doesn't support this */
+ (void)developer_mode_enabled;
+}