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 |
Lad Prabhakar | b7fc5e2 | 2020-12-29 13:39:31 +0000 | [diff] [blame^] | 10 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 11 | |
| 12 | else ifdef RCAR_LSI_CUT_COMPAT |
| 13 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 14 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c |
| 15 | endif |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame] | 16 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 17 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c |
| 18 | endif |
Lad Prabhakar | b7fc5e2 | 2020-12-29 13:39:31 +0000 | [diff] [blame^] | 19 | ifeq (${RCAR_LSI},${RZ_G2N}) |
| 20 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c |
| 21 | endif |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 22 | else |
| 23 | ifeq (${RCAR_LSI},${RZ_G2M}) |
| 24 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c |
| 25 | endif |
Lad Prabhakar | b3e77d8 | 2021-03-18 13:07:51 +0000 | [diff] [blame] | 26 | ifeq (${RCAR_LSI},${RZ_G2H}) |
| 27 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c |
| 28 | endif |
Lad Prabhakar | b7fc5e2 | 2020-12-29 13:39:31 +0000 | [diff] [blame^] | 29 | ifeq (${RCAR_LSI},${RZ_G2N}) |
| 30 | BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c |
| 31 | endif |
Biju Das | bf40dbb | 2020-11-09 09:40:04 +0000 | [diff] [blame] | 32 | endif |
| 33 | |
| 34 | BL2_SOURCES += drivers/renesas/rzg/pfc/pfc_init.c |