mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00

- Add basic platform setup. - Add MT8188 documentation at docs/plat/. - Add generic CPU helper functions. - Add basic register address. - Add mtk_pm.c in lib/pm TEST=build pass BUG=b:236331724 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I5f8617c42ffba2c9d3a16f3980cb75fda5624031
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#
|
|
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
MTK_PLAT := plat/mediatek
|
|
MTK_PLAT_SOC := ${MTK_PLAT}/${PLAT}
|
|
MTK_SOC := ${PLAT}
|
|
|
|
include plat/mediatek/build_helpers/mtk_build_helpers.mk
|
|
include drivers/arm/gic/v3/gicv3.mk
|
|
include lib/xlat_tables_v2/xlat_tables.mk
|
|
|
|
PLAT_INCLUDES := -I${MTK_PLAT}/common \
|
|
-I${MTK_PLAT}/include \
|
|
-I${MTK_PLAT}/include/${MTK_SOC} \
|
|
-I${MTK_PLAT} \
|
|
-I${MTK_PLAT_SOC}/include \
|
|
-Idrivers/arm/gic \
|
|
|
|
MODULES-y += $(MTK_PLAT)/common
|
|
MODULES-y += $(MTK_PLAT)/lib/mtk_init
|
|
MODULES-y += $(MTK_PLAT)/lib/pm
|
|
|
|
PLAT_BL_COMMON_SOURCES := common/desc_image_load.c \
|
|
drivers/ti/uart/aarch64/16550_console.S \
|
|
lib/bl_aux_params/bl_aux_params.c
|
|
|
|
BL31_SOURCES += drivers/delay_timer/delay_timer.c \
|
|
drivers/delay_timer/generic_delay_timer.c \
|
|
lib/cpus/aarch64/cortex_a55.S \
|
|
lib/cpus/aarch64/cortex_a78.S \
|
|
${GICV3_SOURCES} \
|
|
${XLAT_TABLES_LIB_SRCS} \
|
|
plat/common/plat_gicv3.c \
|
|
plat/common/plat_psci_common.c \
|
|
plat/common/aarch64/crash_console_helpers.S \
|
|
${MTK_PLAT}/common/mtk_plat_common.c \
|
|
${MTK_PLAT}/common/params_setup.c \
|
|
${MTK_PLAT_SOC}/aarch64/plat_helpers.S \
|
|
$(MTK_PLAT)/$(MTK_SOC)/plat_mmap.c \
|
|
$(MTK_PLAT)/$(MTK_SOC)/plat_topology.c
|
|
|
|
include plat/mediatek/build_helpers/mtk_build_helpers_epilogue.mk
|
|
|
|
include lib/coreboot/coreboot.mk
|