Yu-Ping Wu has submitted this change. ( https://review.coreboot.org/c/blobs/+/85285?usp=email )
(
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: soc/mediatek/mt8196: Add SPM firmware v1.0 ......................................................................
soc/mediatek/mt8196: Add SPM firmware v1.0
Add initial SPM firmware.
TEST=build pass BUG=b:348147674
Change-Id: Ic5b5417b9b746fcca225209d9b17108a2499ac71 Signed-off-by: Wenzhen Yu wenzhen.yu@mediatek.corp-partner.google.com --- M soc/mediatek/mt8196/README.md A soc/mediatek/mt8196/spm_firmware.bin A soc/mediatek/mt8196/spm_firmware.bin.md5 A soc/mediatek/mt8196/spm_release_notes.txt 4 files changed, 26 insertions(+), 0 deletions(-)
Approvals: Yu-Ping Wu: Verified; Looks good to me, approved Yidi Lin: Looks good to me, approved
diff --git a/soc/mediatek/mt8196/README.md b/soc/mediatek/mt8196/README.md index 7f83d7a..9af056e 100644 --- a/soc/mediatek/mt8196/README.md +++ b/soc/mediatek/mt8196/README.md @@ -4,6 +4,7 @@ - dpm.dm - dpm.pm - dram.elf +- spm_firmware.bin
-------------------------------------------------------------------------------- # MCUPM introduction @@ -174,3 +175,23 @@ `$ strings dram.elf | grep "firmware version"`
-------------------------------------------------------------------------------- +# SPM introduction +SPM is "System Power Manager" that provides power control for low power task. +SPM provides power related features, e.g. Suspend, Vcore dvfs + +SPM firmware is loaded into SPM SRAM at system initialization. + +## Who uses it +Coreboot will load spm_firmware.bin to SPM SRAM at ramstage. + +## How to load `spm_firmware.bin +Use CBFS to load `spm_firmware.bin`. +No need to pass other parameters to SPM. + +## Return value +No return value. + +## Version +`$ strings spm_firmware.bin | grep "spm firmware"` + +-------------------------------------------------------------------------------- diff --git a/soc/mediatek/mt8196/spm_firmware.bin b/soc/mediatek/mt8196/spm_firmware.bin new file mode 100644 index 0000000..53bdb78 --- /dev/null +++ b/soc/mediatek/mt8196/spm_firmware.bin Binary files differ diff --git a/soc/mediatek/mt8196/spm_firmware.bin.md5 b/soc/mediatek/mt8196/spm_firmware.bin.md5 new file mode 100644 index 0000000..e43ad13 --- /dev/null +++ b/soc/mediatek/mt8196/spm_firmware.bin.md5 @@ -0,0 +1 @@ +6fb3df16f2475f46cef3a11460debc82 *spm_firmware.bin diff --git a/soc/mediatek/mt8196/spm_release_notes.txt b/soc/mediatek/mt8196/spm_release_notes.txt new file mode 100644 index 0000000..f3b09fd --- /dev/null +++ b/soc/mediatek/mt8196/spm_release_notes.txt @@ -0,0 +1,4 @@ +** Build from MediaTek Internal ** + +# Version 1.0 +1. Initial release.