Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 1 | # |
| 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 |
| 10 | LS1043_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. |
| 14 | SEPARATE_CODE_AND_RODATA := 1 |
| 15 | |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 16 | COLD_BOOT_SINGLE_CPU := 1 |
| 17 | |
| 18 | PLAT_INCLUDES += -Iinclude/common/tbbr |
| 19 | |
| 20 | PLAT_BL_COMMON_SOURCES += plat/layerscape/common/${ARCH}/ls_helpers.S \ |
| 21 | plat/layerscape/common/ls_common.c |
| 22 | |
| 23 | include lib/xlat_tables_v2/xlat_tables.mk |
| 24 | |
| 25 | PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS} |
| 26 | |
| 27 | BL1_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 | |
| 35 | BL2_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 |
| 41 | BL2_SOURCES += plat/layerscape/common/${ARCH}/ls_bl2_mem_params_desc.c |
| 42 | BL2_SOURCES += plat/layerscape/common/ls_image_load.c \ |
| 43 | common/desc_image_load.c |
| 44 | |
| 45 | BL31_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 |