aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/Kconfig
diff options
context:
space:
mode:
authorRoger Lu <roger.lu@mediatek.com>2020-07-10 15:29:31 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-10 03:22:36 +0000
commita5f472bf57e8897c4c47dce6050f0dfacfca5f13 (patch)
treed1c6fa3b61f3bb65b0c1bd60f5116741c298ca73 /src/soc/mediatek/mt8192/Kconfig
parenteb69dd60ef995ddddd2c831bc006e7397ddbcf79 (diff)
soc/mediatek/mt8192: add spmfw loader
This patch adds support for loading spm firmware from cbfs to spm sram. Spm needs its own firmware to enable spm suspend/resume function which turns off several resources such as DRAM/mainpll/26M clk when linux system suspend. BUG=b:159079649 TEST=suspend with command `powerd_dbus_suspend` and wake up the DUT by powerkey Signed-off-by: Roger Lu <roger.lu@mediatek.com> Change-Id: I6478b98f426d2f3e0ee919d37d21d909ae8a6371 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46389 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8192/Kconfig')
-rw-r--r--src/soc/mediatek/mt8192/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/Kconfig b/src/soc/mediatek/mt8192/Kconfig
index 8425005a86..dbb35f6a98 100644
--- a/src/soc/mediatek/mt8192/Kconfig
+++ b/src/soc/mediatek/mt8192/Kconfig
@@ -45,4 +45,10 @@ config MEMORY_TEST
This option enables memory basic compare test to verify the DRAM read
or write is as expected.
+config SPM_FIRMWARE
+ string
+ default "spm_firmware.bin"
+ help
+ The file name of the MediaTek SPM firmware.
+
endif