Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 1 | # |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 2 | # Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved. |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | ifeq (${RCAR_LSI},${RCAR_AUTO}) |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 8 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 9 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 10 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 11 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 12 | else ifeq (${RCAR_LSI_CUT_COMPAT},1) |
| 13 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 14 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 15 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 16 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 17 | endif |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 18 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 19 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
| 20 | endif |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 21 | else |
| 22 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 23 | ifeq (${LSI_CUT},10) |
| 24 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 25 | else ifeq (${LSI_CUT},11) |
| 26 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 27 | else ifeq (${LSI_CUT},13) |
| 28 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 29 | else ifeq (${LSI_CUT},30) |
| 30 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 31 | else |
| 32 | # LSI_CUT 30 or later |
| 33 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 34 | endif |
| 35 | endif |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 36 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 37 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
| 38 | endif |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 39 | endif |
| 40 | |
| 41 | BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c |