refactor: panic after calling psci_power_down_wfi()This function doesn't return and its callers that don't return eitherrely on this. Drop the dead attribute and add a panic() after it to makethi
refactor: panic after calling psci_power_down_wfi()This function doesn't return and its callers that don't return eitherrely on this. Drop the dead attribute and add a panic() after it to makethis expectation explicit. Calling `wfi` in the powerdown sequence isterminal so even if the function was made to return, there would be nofunctional change.This is useful for a following patch that makes psci_power_down_wfi()return.Change-Id: I62ca1ee058b1eaeb046966c795081e01bf45a2ebSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
feat(mt8196): add pwr_ctrl module for CPU power managementImplement pwr_ctrl module to manage CPU power.Signed-off-by: Kai Liang <kai.liang@mediatek.com>Change-Id: I73a7a8a2d0b120b7225c2f3239901
feat(mt8196): add pwr_ctrl module for CPU power managementImplement pwr_ctrl module to manage CPU power.Signed-off-by: Kai Liang <kai.liang@mediatek.com>Change-Id: I73a7a8a2d0b120b7225c2f323990176397b6e4a5
feat(mediatek): introduce mtk init frameworkProvide six initcall levels for drivers/modules initialize HWcontrollers or runtime arguments during cold boot.The initcall level cold boot execution
feat(mediatek): introduce mtk init frameworkProvide six initcall levels for drivers/modules initialize HWcontrollers or runtime arguments during cold boot.The initcall level cold boot execution order:-MTK_EARLY_PLAT_INITCall before MMU enabled.-MTK_ARCH_INITMMU Enabled, arch related init(GiC init, interrupt type registration).-MTK_PLAT_SETUP_0_INITMTK driver init level 0.-MTK_PLAT_SETUP_1_INITMTK driver init level 1.-MTK_PLAT_RUNTIME_INITMTK driver init. After this initcall, TF-A handovers to MTK 2ndbootloader.-MTK_PLAT_BL33_DEFER_INITMTK 2nd bootloader traps to TF-A before handover to rich OS.This initcall executed in the trap handler(boot_to_kernel).Signed-off-by: Leon Chen <leon.chen@mediatek.com>Change-Id: Icd7fe95372441db73c975ccb6ce77a6c529df1cc