warm_reset.mk 482 B

1234567891011121314151617181920
  1. #
  2. # Copyright 2020 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. #-----------------------------------------------------------------------------
  7. ifeq (${WARM_RST_ADDED},)
  8. WARM_RST_ADDED := 1
  9. NXP_NV_SW_MAINT_LAST_EXEC_DATA := yes
  10. $(eval $(call add_define,NXP_WARM_BOOT))
  11. WARM_RST_INCLUDES += -I${PLAT_COMMON_PATH}/warm_reset
  12. WARM_RST_BL31_SOURCES += ${PLAT_SOC_PATH}/$(ARCH)/${SOC}_warm_rst.S
  13. WARM_RST_BL_COMM_SOURCES += ${PLAT_COMMON_PATH}/warm_reset/plat_warm_reset.c
  14. endif