aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/rzg/pfc/pfc.mk
blob: 9e724859642197e9e6efd81125ca3732414fc4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

ifeq (${RCAR_LSI},${RCAR_AUTO})
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c

else ifdef RCAR_LSI_CUT_COMPAT
  ifeq (${RCAR_LSI},${RZ_G2M})
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
  endif
  ifeq (${RCAR_LSI},${RZ_G2H})
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
  endif
else
  ifeq (${RCAR_LSI},${RZ_G2M})
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
  endif
  ifeq (${RCAR_LSI},${RZ_G2H})
    BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
  endif
endif

BL2_SOURCES += drivers/renesas/rzg/pfc/pfc_init.c