blob: ef86129b5354e9700f9a9cc9fdafe05caa531d9e (
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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
if ARCH_MESON
config MESON64_COMMON
bool
select ARM64
select CLK
select DM
select DM_SERIAL
select SYSCON
select REGMAP
select PWRSEQ
select MMC_PWRSEQ
select BOARD_LATE_INIT
select MESON_SM
imply CMD_DM
config MESON_GX
bool
select MESON64_COMMON
select SUPPORT_SPL
select BINMAN if SPL
choice
prompt "Platform select"
default MESON_GXBB
config MESON_GXBB
bool "GXBB"
select MESON_GX
imply OF_UPSTREAM
help
Select this if your SoC is an S905
config MESON_GXL
bool "GXL"
select MESON_GX
imply OF_UPSTREAM
help
Select this if your SoC is an S905X/D or S805X
config MESON_GXM
bool "GXM"
select MESON_GX
imply OF_UPSTREAM
help
Select this if your SoC is an S912
config MESON_AXG
bool "AXG"
select MESON64_COMMON
imply OF_UPSTREAM
help
Select this if your SoC is an A113X/D
config MESON_G12A
bool "G12A"
select MESON64_COMMON
imply OF_UPSTREAM
help
Select this if your SoC is an S905X/D2
config MESON_A1
bool "A1"
select MESON64_COMMON
help
Select this if your SoC is an A113L
endchoice
config SYS_SOC
default "meson"
config SYS_MALLOC_F_LEN
default 0x2000
config SYS_VENDOR
string "Vendor name"
default "amlogic"
help
This option contains information about board name.
Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
be used.
config SYS_BOARD
string "Board name"
default "ad401" if MESON_A1
default "p200" if MESON_GXBB
default "p212" if MESON_GXL
default "q200" if MESON_GXM
default "s400" if MESON_AXG
default "u200" if MESON_G12A
default ""
help
This option contains information about board name.
Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
be used.
if MESON_GX && SPL
config SPL_SYS_MALLOC_F_LEN
default 0x2000
choice
prompt "DRAM rank mode"
help
Choose rank mode. This heavily depends on the board and you should
leave the board default set if you don't know what this is.
If you choose the wrong rank mode DRAM init in SPL may either fail
or in rare occasions require multiple resets before it succeeds.
config DRAM_ONE_RANK
bool "One rank"
config DRAM_TWO_IDENTICAL_RANKS
bool "Two identical ranks"
if MESON_GXBB
config DRAM_TWO_DIFF_RANKS
bool "Two different ranks"
endif
if MESON_GXL
config DRAM_16BIT_RANK
bool "One 16-bit rank"
endif
endchoice
choice
prompt "DRAM memory type"
default DRAM_DDR3
help
Select the DDR type according to your board design. GXBB/S905
currently only supports DDR3.
config DRAM_DDR3
bool "DDR3"
if MESON_GXL
config DRAM_DDR4
bool "DDR4"
endif
endchoice
config DRAM_DQS_CORR
bool "Enable DQS correction"
config DRAM_CLK
int "DRAM clock"
default 912
help
This option contains the DRAM clock to use in MHz.
config DRAM_SIZE
int "DRAM size"
default 1024
help
This option contains the DRAM size. Units in MB.
choice
prompt "Enable DRAM 2T mode"
default DRAM_1T_MODE
help
Choose whenever to use 2T mode or not.
config DRAM_1T_MODE
bool "Use DRAM 1T mode"
config DRAM_2T_MODE
bool "Use DRAM 2T mode"
endchoice
choice
prompt "Set VDDEE init voltage"
default SPL_MESON_GX_VDDEE_1000MV
help
This option is used to set the VDDEE voltage on boot up.
If unsure, leave it to the board default.
config SPL_MESON_GX_VDDEE_1000MV
bool "Set VDDEE to 1000 mv"
config SPL_MESON_GX_VDDEE_1100MV
bool "Set VDDEE to 1100 mv"
endchoice
choice
prompt "Set VCCK init voltage"
default SPL_MESON_GX_VCCK_1100MV
help
This option is used to set the VCCK voltage on boot up.
If unsure, leave it to the board default.
config SPL_MESON_GX_VCCK_1000MV
bool "Set VCCK to 1000 mv"
config SPL_MESON_GX_VCCK_1100MV
bool "Set VCCK to 1100 mv"
config SPL_MESON_GX_VCCK_1120MV
bool "Set VCCK to 1120 mv"
endchoice
endif
endif
|