arm-trusted-firmware/plat/aspeed/ast2700/platform.mk
Chia-Wei Wang 564e073cd5 refactor(ast2700): adopt RESET_TO_BL31 boot flow
Revise the AST2700 boot flow to the RESET_TO_BL31 scheme.
The execution of BL1/2 can be saved from ARM CA35 while most
low level platform initialization are moved to a preceding MCU.

This patch updates the build configuration and also adds
the SMP mailbox setup code to hold secondary cores until
they are being waken up.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Change-Id: I7e0aa6416b92b97036153db1d9a26baaa41b7b18
2023-09-28 10:23:06 +08:00

34 lines
732 B
Makefile

#
# Copyright (c) 2023, Aspeed Technology Inc.
#
# SPDX-License-Identifier: BSD-3-Clause
#
include drivers/arm/gic/v3/gicv3.mk
include lib/xlat_tables_v2/xlat_tables.mk
PLAT_AST2700 := plat/aspeed/ast2700
PLAT_INCLUDES := \
-I${PLAT_AST2700}/include
BL31_SOURCES += \
common/desc_image_load.c \
lib/cpus/aarch64/cortex_a35.S \
plat/common/plat_gicv3.c \
plat/common/plat_psci_common.c \
drivers/ti/uart/aarch64/16550_console.S \
${PLAT_AST2700}/plat_helpers.S \
${PLAT_AST2700}/plat_topology.c \
${PLAT_AST2700}/plat_bl31_setup.c \
${PLAT_AST2700}/plat_pm.c \
${GICV3_SOURCES} \
${XLAT_TABLES_LIB_SRCS}
RESET_TO_BL31 := 1
PROGRAMMABLE_RESET_ADDRESS := 1
COLD_BOOT_SINGLE_CPU := 0
ENABLE_SVE_FOR_NS := 0