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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
#
# Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
ifeq (${RCAR_LSI},${RCAR_AUTO})
# E3, H3N not available for LSI_AUTO
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
else ifdef RCAR_LSI_CUT_COMPAT
ifeq (${RCAR_LSI},${RCAR_H3})
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3})
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/renesas/rcar/qos/D3/qos_init_d3.c
endif
else
ifeq (${RCAR_LSI},${RCAR_H3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
else ifeq (${LSI_CUT},20)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},13)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_d3.c
endif
endif
BL2_SOURCES += drivers/renesas/rcar/qos/qos_init.c
|