blob: 15d0e8d9fb477f5fae1d1328950d9d0ad04cc334 [file] [log] [blame]
Biju Dasbf40dbb2020-11-09 09:40:04 +00001#
Lad Prabhakarb3e77d82021-03-18 13:07:51 +00002# Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved.
Biju Dasbf40dbb2020-11-09 09:40:04 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifeq (${RCAR_LSI},${RCAR_AUTO})
8 BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
Lad Prabhakarb3e77d82021-03-18 13:07:51 +00009 BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
Lad Prabhakarb7fc5e22020-12-29 13:39:31 +000010 BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
Lad Prabhakar7b19dff2020-12-29 13:46:48 +000011 BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
Biju Dasbf40dbb2020-11-09 09:40:04 +000012
13else ifdef RCAR_LSI_CUT_COMPAT
14 ifeq (${RCAR_LSI},${RZ_G2M})
15 BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
16 endif
Lad Prabhakarb3e77d82021-03-18 13:07:51 +000017 ifeq (${RCAR_LSI},${RZ_G2H})
18 BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
19 endif
Lad Prabhakarb7fc5e22020-12-29 13:39:31 +000020 ifeq (${RCAR_LSI},${RZ_G2N})
21 BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
22 endif
Lad Prabhakar7b19dff2020-12-29 13:46:48 +000023 ifeq (${RCAR_LSI},${RZ_G2E})
24 BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
25 endif
Biju Dasbf40dbb2020-11-09 09:40:04 +000026else
27 ifeq (${RCAR_LSI},${RZ_G2M})
28 BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
29 endif
Lad Prabhakarb3e77d82021-03-18 13:07:51 +000030 ifeq (${RCAR_LSI},${RZ_G2H})
31 BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
32 endif
Lad Prabhakarb7fc5e22020-12-29 13:39:31 +000033 ifeq (${RCAR_LSI},${RZ_G2N})
34 BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
35 endif
Lad Prabhakar7b19dff2020-12-29 13:46:48 +000036 ifeq (${RCAR_LSI},${RZ_G2E})
37 BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
38 endif
Biju Dasbf40dbb2020-11-09 09:40:04 +000039endif
40
41BL2_SOURCES += drivers/renesas/rzg/pfc/pfc_init.c