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