blob: 5d96aed1ce877e6487e1d6b520d5a3155da20b36 [file] [log] [blame]
Jiafei Pan46367ad2018-03-02 07:23:30 +00001#
2# Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7
8# Process LS1043_DISABLE_TRUSTED_WDOG flag
9# TODO:Temparally disabled it on development phase, not implemented yet
10LS1043_DISABLE_TRUSTED_WDOG := 1
11
12# On Layerscape platforms, separate the code and read-only data sections to allow
13# mapping the former as executable and the latter as execute-never.
14SEPARATE_CODE_AND_RODATA := 1
15
Jiafei Pan46367ad2018-03-02 07:23:30 +000016COLD_BOOT_SINGLE_CPU := 1
17
18PLAT_INCLUDES += -Iinclude/common/tbbr
19
20PLAT_BL_COMMON_SOURCES += plat/layerscape/common/${ARCH}/ls_helpers.S \
21 plat/layerscape/common/ls_common.c
22
23include lib/xlat_tables_v2/xlat_tables.mk
24
25PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS}
26
27BL1_SOURCES += \
28 drivers/io/io_fip.c \
29 drivers/io/io_memmap.c \
30 drivers/io/io_storage.c \
31 plat/layerscape/common/ls_timer.c \
32 plat/layerscape/common/ls_bl1_setup.c \
33 plat/layerscape/common/ls_io_storage.c
34
35BL2_SOURCES += drivers/io/io_fip.c \
36 drivers/io/io_memmap.c \
37 drivers/io/io_storage.c \
38 plat/layerscape/common/ls_timer.c \
39 plat/layerscape/common/ls_bl2_setup.c \
40 plat/layerscape/common/ls_io_storage.c
41BL2_SOURCES += plat/layerscape/common/${ARCH}/ls_bl2_mem_params_desc.c
42BL2_SOURCES += plat/layerscape/common/ls_image_load.c \
43 common/desc_image_load.c
44
45BL31_SOURCES += plat/layerscape/common/ls_bl31_setup.c \
46 plat/layerscape/common/ls_timer.c \
47 plat/layerscape/common/ls_topology.c \
48 plat/layerscape/common/ns_access.c \
49 plat/common/plat_psci_common.c