arm-trusted-firmware/drivers/renesas/rzg/qos/qos.mk
Lad Prabhakar 05cc21de5d drivers: renesas: rzg: Add QoS support for RZ/G2E
Add QoS support for RZ/G2E SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Change-Id: I2c4373807ab8c550d86d6abc97f5b01f2fb78fb3
2021-04-20 16:17:50 +01:00

60 lines
2.1 KiB
Makefile

#
# Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
ifeq (${RCAR_LSI},${RCAR_AUTO})
BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
else ifeq (${RCAR_LSI_CUT_COMPAT},1)
ifeq (${RCAR_LSI},${RZ_G2M})
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
endif
ifeq (${RCAR_LSI},${RZ_G2H})
BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
endif
ifeq (${RCAR_LSI},${RZ_G2N})
BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
endif
ifeq (${RCAR_LSI},${RZ_G2E})
BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
endif
else
ifeq (${RCAR_LSI},${RZ_G2M})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
else ifeq (${LSI_CUT},13)
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
endif
endif
ifeq (${RCAR_LSI},${RZ_G2H})
BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
endif
ifeq (${RCAR_LSI},${RZ_G2N})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
endif
endif
ifeq (${RCAR_LSI},${RZ_G2E})
BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
endif
endif
BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c