coreboot/src/soc/mediatek
Roger Lu a5f472bf57 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>
2020-12-10 03:22:36 +00:00
..
common soc/mediatek/common: Add common API for loading firmwares 2020-12-10 03:21:19 +00:00
mt8173 cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
mt8183 soc/mediatek/mt8183: Use mtk_init_mcu to init SSPM 2020-12-10 03:22:24 +00:00
mt8192 soc/mediatek/mt8192: add spmfw loader 2020-12-10 03:22:36 +00:00
Kconfig