Pankaj Gupta | e0f6c4f | 2020-12-09 14:02:40 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2020 NXP |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #----------------------------------------------------------------------------- |
| 7 | ifeq (${WARM_RST_ADDED},) |
| 8 | |
| 9 | WARM_RST_ADDED := 1 |
| 10 | NXP_NV_SW_MAINT_LAST_EXEC_DATA := yes |
| 11 | |
| 12 | $(eval $(call add_define,NXP_WARM_BOOT)) |
| 13 | |
| 14 | |
| 15 | WARM_RST_INCLUDES += -I${PLAT_COMMON_PATH}/warm_reset |
| 16 | WARM_RST_BL31_SOURCES += ${PLAT_SOC_PATH}/$(ARCH)/${SOC}_warm_rst.S |
| 17 | |
| 18 | WARM_RST_BL_COMM_SOURCES += ${PLAT_COMMON_PATH}/warm_reset/plat_warm_reset.c |
| 19 | |
| 20 | endif |