mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

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
15 lines
380 B
Makefile
15 lines
380 B
Makefile
#
|
|
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
LOCAL_DIR := $(call GET_LOCAL_DIR)
|
|
|
|
MODULE := mtk_common
|
|
|
|
LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_bl31_setup.c
|
|
LOCAL_SRCS-y += ${LOCAL_DIR}/mtk_smc_handlers.c
|
|
LOCAL_SRCS-$(MTK_SIP_KERNEL_BOOT_ENABLE) += ${LOCAL_DIR}/cold_boot.c
|
|
|
|
$(eval $(call MAKE_LOCALS,$(LOCAL_SRCS-y),$(MTK_BL)))
|