arm-trusted-firmware/drivers/arm/rse/rse_comms.mk
Tamas Ban e249e56954 refactor(rse): change all occurrences of RSS to RSE
Changes all occurrences of "RSS" and "rss" in the code and build files
to "RSE" and "rse".

Signed-off-by: Tamas Ban <tamas.ban@arm.com>
Change-Id: I9f72ad36ec233d7eaac3ce9e2f2b010130e1fa94
2024-04-22 15:44:38 +02:00

34 lines
815 B
Makefile

#
# Copyright (c) 2022-2024, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
$(warning "RSE driver is an experimental feature")
RSE_COMMS_SOURCES := $(addprefix drivers/arm/rse/, \
rse_comms.c \
rse_comms_protocol.c \
rse_comms_protocol_embed.c \
rse_comms_protocol_pointer_access.c \
)
# Default to MHUv2 if PLAT_MHU_VERSION undefined
PLAT_MHU_VERSION ?= 2
ifeq (${PLAT_MHU_VERSION}, 3)
RSE_COMMS_SOURCES += $(addprefix drivers/arm/mhu/, \
mhu_v3_x.c \
mhu_wrapper_v3_x.c \
)
else ifeq (${PLAT_MHU_VERSION}, 2)
RSE_COMMS_SOURCES += $(addprefix drivers/arm/mhu/, \
mhu_v2_x.c \
mhu_wrapper_v2_x.c \
)
else
$(error Unsupported MHU version)
endif
PLAT_INCLUDES += -Idrivers/arm/rse \
-Idrivers/arm/mhu