qos.mk 1.87 KB
Newer Older
1
#
2
# Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved.
3
4
5
6
7
#
# SPDX-License-Identifier: BSD-3-Clause
#

ifeq (${RCAR_LSI},${RCAR_AUTO})
8
    BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
9
10
11
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
12
    BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
13
14
15
16
17
18
else ifeq (${RCAR_LSI_CUT_COMPAT},1)
  ifeq (${RCAR_LSI},${RZ_G2M})
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
    BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
  endif
19
20
21
  ifeq (${RCAR_LSI},${RZ_G2H})
    BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
  endif
22
23
24
  ifeq (${RCAR_LSI},${RZ_G2N})
    BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
  endif
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
else
  ifeq (${RCAR_LSI},${RZ_G2M})
    ifeq (${LSI_CUT},10)
     BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
    else ifeq (${LSI_CUT},11)
     BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
    else ifeq (${LSI_CUT},13)
     BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
    else ifeq (${LSI_CUT},30)
     BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
    else
#    LSI_CUT 30 or later
     BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
    endif
  endif
40
41
42
  ifeq (${RCAR_LSI},${RZ_G2H})
     BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
  endif
43
44
45
46
47
48
49
50
  ifeq (${RCAR_LSI},${RZ_G2N})
    ifeq (${LSI_CUT},10)
     BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
    else
#    LSI_CUT 10 or later
     BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
    endif
  endif
51
52
53
endif

BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c