Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86015?usp=email )
Change subject: mb/google/rauru: Add mtk-fsp loader in romstage ......................................................................
mb/google/rauru: Add mtk-fsp loader in romstage
MediaTek firmware support package (mtk-fsp) is a new blob that include: - Power Switch.
BUG=b:373797027 TEST=build pass, boot ok. Load and run mtk_fsp with following logs: [DEBUG] FMAP: area FW_MAIN_A found @ 402000 (1527552 bytes) [INFO ] CBFS: Found 'fallback/mtk_fsp_romstage' @0xfc280 size 0x6bd in mcache @0x00122518 [INFO ] VB2:vb2_digest_init() 1725 bytes, hash algo 2, HW acceleration enabled [INFO ] _start: MediaTek FSP_ROMSTAGE interface version: 1.0 [INFO ] mtk_fsp_load_and_run: run fallback/mtk_fsp_romstage at phase 0x30 done
Change-Id: Id223152e0bda71e99e72b34c91fea8f8841e824b Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/romstage.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/86015/1
diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c index d82e152..32c8a61 100644 --- a/src/mainboard/google/rauru/romstage.c +++ b/src/mainboard/google/rauru/romstage.c @@ -9,6 +9,7 @@ #include <soc/mt6363.h> #include <soc/mt6373.h> #include <soc/mt6685.h> +#include <soc/mtk_fsp.h> #include <soc/mtk_pwrsel.h> #include <soc/pcie.h> #include <soc/pll.h> @@ -34,6 +35,8 @@ mt6316_init(); raise_little_cpu_freq(); mt6373_init(); + mtk_fsp_init(ROMSTAGE_INIT); + mtk_fsp_load_and_run(); mt6685_init(); srclken_rc_init(); clk_buf_init();