1# 2# Copyright 2021 NXP 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#----------------------------------------------------------------------------- 7ifeq (${CSU_ADDED},) 8 9CSU_ADDED := 1 10 11PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/csu 12 13CSU_SOURCES += $(PLAT_DRIVERS_PATH)/csu/csu.c 14 15ifeq (${BL_COMM_CSU_NEEDED},yes) 16BL_COMMON_SOURCES += ${CSU_SOURCES} 17else 18ifeq (${BL2_CSU_NEEDED},yes) 19BL2_SOURCES += ${CSU_SOURCES} 20endif 21ifeq (${BL31_CSU_NEEDED},yes) 22BL31_SOURCES += ${CSU_SOURCES} 23endif 24endif 25 26endif 27