blob: 39867e6dbb4f22cff8b1ffc4ef5d1ecd602a1dd6 [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
Jiafei Pan46367ad2018-03-02 07:23:30 +000018PLAT_BL_COMMON_SOURCES += plat/layerscape/common/${ARCH}/ls_helpers.S \
19 plat/layerscape/common/ls_common.c
20
21include lib/xlat_tables_v2/xlat_tables.mk
22
23PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS}
24
25BL1_SOURCES += \
26 drivers/io/io_fip.c \
27 drivers/io/io_memmap.c \
28 drivers/io/io_storage.c \
29 plat/layerscape/common/ls_timer.c \
30 plat/layerscape/common/ls_bl1_setup.c \
31 plat/layerscape/common/ls_io_storage.c
32
33BL2_SOURCES += drivers/io/io_fip.c \
34 drivers/io/io_memmap.c \
35 drivers/io/io_storage.c \
36 plat/layerscape/common/ls_timer.c \
37 plat/layerscape/common/ls_bl2_setup.c \
38 plat/layerscape/common/ls_io_storage.c
39BL2_SOURCES += plat/layerscape/common/${ARCH}/ls_bl2_mem_params_desc.c
40BL2_SOURCES += plat/layerscape/common/ls_image_load.c \
41 common/desc_image_load.c
42
43BL31_SOURCES += plat/layerscape/common/ls_bl31_setup.c \
44 plat/layerscape/common/ls_timer.c \
45 plat/layerscape/common/ls_topology.c \
46 plat/layerscape/common/ns_access.c \
47 plat/common/plat_psci_common.c