]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(mediatek): implement generic platform port
authorLeon Chen <leon.chen@mediatek.com>
Sun, 26 Jun 2022 13:50:32 +0000 (21:50 +0800)
committerBo-Chen Chen <rex-bc.chen@mediatek.com>
Tue, 30 Aug 2022 08:47:43 +0000 (16:47 +0800)
commit394b92084d53e2bf8960731be7a79c999871f127
treed5b2fb78c1acff5a8fc817beb54d4ce2e548e0f7
parent6a7e8ebf76a9e25614fd98634f26059953cd9309
feat(mediatek): implement generic platform port

Implement mandatory platform port functions. Receive
boot arguments from bl2, populate bl33 and bl32 image
entry structs, call each MTK initcall levels
in these mandatory platform port functions.
After bl31_main exit and handover to 2nd boot loader,
mtk bl33 issues SMC and traps to TF-A to execute boot_to_kernel
and then handover to Linux kernel.

Signed-off-by: Leon Chen <leon.chen@mediatek.com>
Change-Id: I8d5a3511668fc749c4c71edf1ac700002cb5a9c8
plat/mediatek/common/cold_boot.c [new file with mode: 0644]
plat/mediatek/common/common_config.mk [new file with mode: 0644]
plat/mediatek/common/mtk_bl31_setup.c [new file with mode: 0644]
plat/mediatek/common/mtk_plat_common.c
plat/mediatek/common/mtk_plat_common.h
plat/mediatek/common/rules.mk [new file with mode: 0644]
plat/mediatek/include/cold_boot.h [new file with mode: 0644]