Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 1 | # |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame^] | 2 | # Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved. |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | ifeq (${RCAR_LSI},${RCAR_AUTO}) |
| 8 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame^] | 9 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 10 | |
| 11 | else ifdef RCAR_LSI_CUT_COMPAT |
| 12 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 13 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c |
| 14 | endif |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame^] | 15 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 16 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c |
| 17 | endif |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 18 | else |
| 19 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 20 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c |
| 21 | endif |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame^] | 22 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 23 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c |
| 24 | endif |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 25 | endif |
| 26 | |
| 27 | BL2_SOURCES += drivers/renesas/rzg/pfc/pfc_init.c |