1*91f16700Schasinglulu# Copyright (c) 2021-2022, ProvenRun S.A.S. All rights reserved. 2*91f16700Schasinglulu# 3*91f16700Schasinglulu# SPDX-License-Identifier: BSD-3-Clause 4*91f16700Schasinglulu 5*91f16700SchasingluluPNCD_DIR := services/spd/pncd 6*91f16700SchasingluluSPD_INCLUDES := -Iinclude/bl32/pnc 7*91f16700SchasingluluSPD_INCLUDES += -Iinclude/common/ 8*91f16700Schasinglulu 9*91f16700SchasingluluSPD_SOURCES := services/spd/pncd/pncd_common.c \ 10*91f16700Schasinglulu services/spd/pncd/pncd_helpers.S \ 11*91f16700Schasinglulu services/spd/pncd/pncd_main.c 12*91f16700Schasinglulu 13*91f16700SchasingluluNEED_BL32 := yes 14*91f16700Schasinglulu 15*91f16700Schasinglulu# The following constants need to be defined: 16*91f16700Schasinglulu# - SPD_PNCD_NS_IRQ: IRQ number used to notify NS world when SMC_ACTION_FROM_S is received 17*91f16700Schasinglulu# - SPD_PNCD_S_IRQ: IRQ number used to notify S world when SMC_ACTION_FROM_NS is received 18*91f16700Schasinglulu$(eval $(call assert_numerics, SPD_PNCD_NS_IRQ SPD_PNCD_S_IRQ)) 19*91f16700Schasinglulu 20*91f16700Schasinglulu$(eval $(call add_defines,\ 21*91f16700Schasinglulu $(sort \ 22*91f16700Schasinglulu SPD_PNCD_NS_IRQ \ 23*91f16700Schasinglulu SPD_PNCD_S_IRQ \ 24*91f16700Schasinglulu))) 25