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 | 84e942d | 2020-12-21 11:33:16 +0000 | [diff] [blame] | 8 | BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 9 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 10 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 11 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 12 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
Lad Prabhakar | 964fcb2 | 2021-03-18 18:54:15 +0000 | [diff] [blame] | 13 | BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 14 | else ifeq (${RCAR_LSI_CUT_COMPAT},1) |
| 15 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 16 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 17 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 18 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 19 | endif |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 20 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 21 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
| 22 | endif |
Lad Prabhakar | 964fcb2 | 2021-03-18 18:54:15 +0000 | [diff] [blame] | 23 | ifeq (${RCAR_LSI},${RZ_G2N}) |
| 24 | BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c |
| 25 | endif |
Lad Prabhakar | 84e942d | 2020-12-21 11:33:16 +0000 | [diff] [blame] | 26 | ifeq (${RCAR_LSI},${RZ_G2E}) |
| 27 | BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c |
| 28 | endif |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 29 | else |
| 30 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 31 | ifeq (${LSI_CUT},10) |
| 32 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c |
| 33 | else ifeq (${LSI_CUT},11) |
| 34 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 35 | else ifeq (${LSI_CUT},13) |
| 36 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c |
| 37 | else ifeq (${LSI_CUT},30) |
| 38 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 39 | else |
| 40 | # LSI_CUT 30 or later |
| 41 | BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c |
| 42 | endif |
| 43 | endif |
Lad Prabhakar | ef124a2 | 2020-12-11 20:06:59 +0000 | [diff] [blame] | 44 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 45 | BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c |
| 46 | endif |
Lad Prabhakar | 964fcb2 | 2021-03-18 18:54:15 +0000 | [diff] [blame] | 47 | ifeq (${RCAR_LSI},${RZ_G2N}) |
| 48 | ifeq (${LSI_CUT},10) |
| 49 | BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c |
| 50 | else |
| 51 | # LSI_CUT 10 or later |
| 52 | BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c |
| 53 | endif |
| 54 | endif |
Lad Prabhakar | 84e942d | 2020-12-21 11:33:16 +0000 | [diff] [blame] | 55 | ifeq (${RCAR_LSI},${RZ_G2E}) |
| 56 | BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c |
| 57 | endif |
Biju Das | 2161542 | 2020-11-09 09:38:51 +0000 | [diff] [blame] | 58 | endif |
| 59 | |
| 60 | BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c |