1# 2# Copyright (c) 2020, Renesas Electronics Corporation. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7ifeq (${RCAR_LSI},${RCAR_AUTO}) 8 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c 9 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c 10 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c 11else ifeq (${RCAR_LSI_CUT_COMPAT},1) 12 ifeq (${RCAR_LSI},${RZ_G2M}) 13 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c 14 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c 15 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c 16 endif 17else 18 ifeq (${RCAR_LSI},${RZ_G2M}) 19 ifeq (${LSI_CUT},10) 20 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c 21 else ifeq (${LSI_CUT},11) 22 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c 23 else ifeq (${LSI_CUT},13) 24 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c 25 else ifeq (${LSI_CUT},30) 26 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c 27 else 28# LSI_CUT 30 or later 29 BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c 30 endif 31 endif 32endif 33 34BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c 35