2 # Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
4 # SPDX-License-Identifier: BSD-3-Clause
7 # indicate the reset vector address can be programmed
8 PROGRAMMABLE_RESET_ADDRESS
:= 1
11 ENABLE_STACK_PROTECTOR
:= 0
12 LS1043_GIC_SOURCES
:= drivers
/arm
/gic
/common
/gic_common.c \
13 drivers
/arm
/gic
/v2
/gicv2_main.c \
14 drivers
/arm
/gic
/v2
/gicv2_helpers.c \
15 plat
/common
/plat_gicv2.c \
16 plat
/layerscape
/board
/ls1043
/ls_gic.c
19 LS1043_INTERCONNECT_SOURCES
:= drivers
/arm
/cci
/cci.c
21 LS1043_SECURITY_SOURCES
:= plat
/layerscape
/common
/ls_tzc380.c \
22 plat
/layerscape
/board
/ls1043
/ls1043_security.c
24 PLAT_INCLUDES
:= -Iplat
/layerscape
/board
/ls1043
/include \
25 -Iplat
/layerscape
/common
/include \
26 -Iinclude
/drivers
/arm \
31 PLAT_BL_COMMON_SOURCES
:= plat
/layerscape
/common
/aarch64
/ls_console.S
33 LS1043_CPU_LIBS
:= lib
/cpus
/${ARCH}/aem_generic.S
35 LS1043_CPU_LIBS
+= lib
/cpus
/aarch64
/cortex_a53.S
37 BL1_SOURCES
+= plat
/layerscape
/board
/ls1043
/ls1043_bl1_setup.c \
38 plat
/layerscape
/board
/ls1043
/ls1043_err.c \
39 drivers
/delay_timer
/delay_timer.c \
41 BL1_SOURCES
+= plat
/layerscape
/board
/ls1043
/${ARCH}/ls1043_helpers.S \
43 ${LS1043_INTERCONNECT_SOURCES} \
44 $(LS1043_SECURITY_SOURCES
)
47 BL2_SOURCES
+= drivers
/delay_timer
/delay_timer.c \
48 plat
/layerscape
/board
/ls1043
/ls1043_bl2_setup.c \
49 plat
/layerscape
/board
/ls1043
/ls1043_err.c \
50 ${LS1043_SECURITY_SOURCES}
53 BL31_SOURCES
+= plat
/layerscape
/board
/ls1043
/ls1043_bl31_setup.c \
54 plat
/layerscape
/board
/ls1043
/ls1043_topology.c \
55 plat
/layerscape
/board
/ls1043
/aarch64
/ls1043_helpers.S \
56 plat
/layerscape
/board
/ls1043
/ls1043_psci.c \
57 drivers
/delay_timer
/delay_timer.c \
59 ${LS1043_GIC_SOURCES} \
60 ${LS1043_INTERCONNECT_SOURCES} \
61 ${LS1043_SECURITY_SOURCES}
63 # Disable the PSCI platform compatibility layer
64 MULTI_CONSOLE_API
:= 1
66 # Enable workarounds for selected Cortex-A53 erratas.
67 ERRATA_A53_855873
:= 1
69 ifneq (${ENABLE_STACK_PROTECTOR},0)
70 PLAT_BL_COMMON_SOURCES
+= plat
/layerscape
/board
/ls1043
/ls1043_stack_protector.c
73 ifeq (${ARCH},aarch32
)
77 include plat
/layerscape
/common
/ls_common.mk