Blame view

arch/arm/mach-imx/Kconfig 9.43 KB
52384b7e5   Breno Lima   imx: Kconfig: Add...
1
2
  config HAS_CAAM
  	bool
a05a6045d   Boris BREZILLON   ARM: iMX: define ...
3
4
  config IMX_CONFIG
  	string
a89729c9c   Adrian Alonso   imx: hab: use uni...
5

e22dfade8   Peng Fan   MLK-16753-2 imx-c...
6
7
8
9
  config IMX_OPTEE
  	bool "Support OP-TEE"
  	help
  	 Enable support for OP-TEE
a89729c9c   Adrian Alonso   imx: hab: use uni...
10
11
  config ROM_UNIFIED_SECTIONS
  	bool
de09c43bb   Peng Fan   imx: imx-common: ...
12

616aa55d1   Stefan Agner   imx: move CONFIG_...
13
14
  config SYSCOUNTER_TIMER
  	bool
23b6a131f   Stefan Agner   imx: introduce CO...
15
16
  config GPT_TIMER
  	bool
6427f23dc   Aymen Sghaier   MLK-18703: crypto...
17
18
19
20
21
22
23
24
25
26
  config FSL_CAAM_KB
  	bool
  
  config IMX_SEC_INIT
  	bool
  	help
  		In most of i.MX board with CAAM this option is used
  		to init RNG from U-Boot
  	select FSL_CAAM_KB
  	select SPL_CRYPTO_SUPPORT if SPL
de09c43bb   Peng Fan   imx: imx-common: ...
27
28
29
30
31
32
33
  config IMX_RDC
  	bool "i.MX Resource domain controller driver"
  	depends on ARCH_MX6 || ARCH_MX7
  	help
  	  i.MX Resource domain controller is used to assign masters
  	  and peripherals to differet domains. This can be used to
  	  isolate resources.
6f6058bfd   Peng Fan   imx: imx-common: ...
34
35
36
  
  config IMX_BOOTAUX
  	bool "Support boot auxiliary core"
7d8156241   Ye Li   MLK-18159-6 imx8m...
37
  	depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8 || ARCH_IMX8M
6f6058bfd   Peng Fan   imx: imx-common: ...
38
39
  	help
  	  bootaux [addr] to boot auxiliary core.
6e1f4d265   Gary Bisson   arm: imx-common: ...
40

3caa81795   Ye Li   MLK-20886-2 imx: ...
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  config IMX_VSERVICE_SHARED_BUFFER
  	hex "Define the buffer address used for virtual service"
  	depends on IMX_VSERVICE
  	help
  	  IMX virtual service will use this buffer for exchanging data with remote core.
  
  config IMX_VSERVICE_SHARED_BUFFER_SIZE
  	hex "Define the size of buffer address used for virtual service"
  	default 0x400000
  	depends on IMX_VSERVICE
  	help
  	  The buffer size for IMX virtual service needs enough large to fit all possible message.
  
  config IMX_VSERVICE
  	bool
      select MISC
      select IMX_M4_MU
  	help
  	  This enables imx virtual service provides framework for imx virtual driver working.
8b62d546f   Peng Fan   imx-common: intro...
60
61
  config USE_IMXIMG_PLUGIN
  	bool "Use imximage plugin code"
15bae9a86   Ye Li   mx7ulp: Add commo...
62
  	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
8b62d546f   Peng Fan   imx-common: intro...
63
64
65
  	help
  	  i.MX6/7 supports DCD and Plugin. Enable this configuration
  	  to use Plugin, otherwise DCD will be used.
d714a75fd   Stefano Babic   imx: replace CONF...
66
  config IMX_HAB
6e1f4d265   Gary Bisson   arm: imx-common: ...
67
  	bool "Support i.MX HAB features"
80facaa8d   Breno Lima   MLK-17897: mx7ulp...
68
  	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M
52384b7e5   Breno Lima   imx: Kconfig: Add...
69
  	select FSL_CAAM if HAS_CAAM
168d1e020   Ye Li   MLK-18159-12 imx:...
70
  	imply CMD_DEKBLOB if HAS_CAAM
6e1f4d265   Gary Bisson   arm: imx-common: ...
71
72
73
  	help
  	  This option enables the support for secure boot (HAB).
  	  See doc/README.mxc_hab for more details.
218257b01   Simon Glass   Convert CONFIG_CM...
74

5f2fe3b93   Breno Matheus Lima   Kconfig: Migrate ...
75
76
  config CSF_SIZE
  	hex "Maximum size for Command Sequence File (CSF) binary"
5b20d141f   Breno Matheus Lima   imx: Kconfig: Red...
77
  	default 0x2060
5f2fe3b93   Breno Matheus Lima   Kconfig: Migrate ...
78
79
80
  	help
  	  Define the maximum size for Command Sequence File (CSF) binary
  	  this information is used to define the image boot data.
218257b01   Simon Glass   Convert CONFIG_CM...
81
82
83
  config CMD_BMODE
  	bool "Support the 'bmode' command"
  	default y
2756d31fa   Fabio Estevam   mx7: Remove BMODE...
84
  	depends on ARCH_MX6 || ARCH_MX5
218257b01   Simon Glass   Convert CONFIG_CM...
85
86
87
88
89
90
91
92
93
  	help
  	  This enables the 'bmode' (bootmode) command for forcing
  	  a boot from specific media.
  
  	  This is useful for forcing the ROM's usb downloader to
  	  activate upon a watchdog reset which is nice when iterating
  	  on U-Boot.  Using the reset button or running bmode normal
  	  will set it back to normal.  This command currently
  	  supports i.MX53 and i.MX6.
d569c95ec   Simon Glass   Convert CONFIG_CM...
94
95
96
  
  config CMD_DEKBLOB
  	bool "Support the 'dek_blob' command"
e8b33b19b   Clement Faure   TEE-346 Add DEK b...
97
98
  	select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
  	select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M
14f755811   Clement Faure   MLK-21297 imx8: A...
99
  	select IMX_SECO_DEK_ENCAP if ARCH_IMX8
d569c95ec   Simon Glass   Convert CONFIG_CM...
100
101
102
103
104
  	help
  	  This enables the 'dek_blob' command which is used with the
  	  Freescale secure boot mechanism. This command encapsulates and
  	  creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for
  	  more information.
7a01f3c6f   Simon Glass   Convert CONFIG_CM...
105

e8b33b19b   Clement Faure   TEE-346 Add DEK b...
106
107
108
109
110
111
112
113
114
115
116
117
118
119
  config IMX_CAAM_DEK_ENCAP
  	bool "Support the DEK blob encapsulation with CAAM U-Boot driver"
  	help
  	  This enables the DEK blob encapsulation with the U-Boot CAAM driver.
  	  This option is only available on imx6, imx7 and imx7ulp.
  
  config IMX_OPTEE_DEK_ENCAP
  	select TEE
  	select OPTEE
  	bool "Support the DEK blob encapsulation with OP-TEE"
  	help
  	  This enabled the DEK blob encapsulation with OP-TEE. The communication
  	  with OP-TEE is done through a SMC call and OP-TEE shared memory. This
  	  option is available on imx8mm.
14f755811   Clement Faure   MLK-21297 imx8: A...
120
121
122
123
124
  config IMX_SECO_DEK_ENCAP
  	bool "Support the DEK blob encapsulation with SECO"
  	help
  	  This enabled the DEK blob encapsulation with the SECO API. This option
  	  is only available on imx8.
55552a26a   Clement Le Marquis   MLK-19790 imx: ca...
125
126
127
128
129
130
  config CMD_PRIBLOB
  	bool "Support the set_priblob_bitfield command"
  	depends on HAS_CAAM && IMX_HAB
  	help
  	  This option enables the priblob command which can be used
  		to set the priblob setting to 0x3.
7a01f3c6f   Simon Glass   Convert CONFIG_CM...
131
132
133
134
135
  config CMD_HDMIDETECT
  	bool "Support the 'hdmidet' command"
  	help
  	  This enables the 'hdmidet' command which detects if an HDMI monitor
  	  is connected.
4555c2614   Fabio Estevam   imx: Add a common...
136

1d43e24b9   Shyam Saini   i.MX6: nand: add ...
137
138
  config CMD_NANDBCB
  	bool "i.MX6 NAND Boot Control Block(BCB) command"
88718be30   Miquel Raynal   mtd: rename CONFI...
139
  	depends on MTD_RAW_NAND && CMD_MTDPARTS
6aa874911   Parthiban Nallathambi   i.MX6: nand: exte...
140
  	select BCH if MX6UL || MX6ULL
7a57cfa93   Han Xu   MLK-22954-2: Kcon...
141
  	default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M || ARCH_IMX8) && NAND_MXS)
1d43e24b9   Shyam Saini   i.MX6: nand: add ...
142
143
144
145
146
147
  	help
  	  Unlike normal 'nand write/erase' commands, this command update
  	  Boot Control Block(BCB) for i.MX6 platform NAND IP's.
  
  	  This is similar to kobs-ng, which is used in Linux as separate
  	  rootfs package.
2c8318fbe   Breno Lima   MLK-18169 imx: im...
148
149
  config FSL_MFGPROT
  	bool "Support the 'mfgprot' command"
18b06286d   Breno Lima   MLK-22907-2 imx8:...
150
151
152
  	depends on IMX_HAB || AHAB_BOOT
  	select IMX_CAAM_MFG_PROT if ARCH_MX7
  	select IMX_SECO_MFG_PROT if ARCH_IMX8
2c8318fbe   Breno Lima   MLK-18169 imx: im...
153
154
155
156
157
  	help
  	  This option enables the manufacturing protection command
  	  which can be used has a protection feature for Manufacturing
  	  process. With this tool is possible to authenticate the
  	  chip to the OEM's server.
18b06286d   Breno Lima   MLK-22907-2 imx8:...
158
159
160
161
162
163
164
165
166
167
168
  config IMX_CAAM_MFG_PROT
  	bool "Support the manufacturing protection with CAAM U-Boot driver"
  	help
  	  This enables the manufacturing protection feature with the U-Boot
  	  CAAM driver. This option is only available on iMX7D/S.
  
  config IMX_SECO_MFG_PROT
  	bool "Support the manufacturing protection with SECO API"
  	help
  	  This enables the manufacturing protection feature with the SECO API.
  	  This option is only available on iMX8/8x series.
f778852e5   Ye.Li   ENGR00315894-55 i...
169
170
171
172
  config DBG_MONITOR
  	bool "Enable the AXI debug monitor"
  	depends on ARCH_MX6 || ARCH_MX7
  	help
80facaa8d   Breno Lima   MLK-17897: mx7ulp...
173
174
  	  This option enables the debug monitor which prints out last
  	  failed AXI access info when system reboot is caused by AXI
f778852e5   Ye.Li   ENGR00315894-55 i...
175
  	  access failure.
4555c2614   Fabio Estevam   imx: Add a common...
176
177
178
179
180
181
182
  config NXP_BOARD_REVISION
  	bool "Read NXP board revision from fuses"
  	depends on ARCH_MX6 || ARCH_MX7
  	help
  	  NXP boards based on i.MX6/7 contain the board revision information
  	  stored in the fuses. Select this option if you want to be able to
  	  retrieve the board revision information.
548cc1095   Lukasz Majewski   ddr: vybrid: Prov...
183

9f99e9de1   Ye Li   MLK-18591-3 andro...
184
185
186
187
188
  config FLASH_MCUFIRMWARE_SUPPORT
  	bool "Enable mcu firmware flash support"
  	depends on ARCH_MX7ULP || ARCH_IMX8M
  	help
  	  This enables the mcu firmware flash support for some SOCs.
548cc1095   Lukasz Majewski   ddr: vybrid: Prov...
189
190
191
192
193
194
195
196
197
198
199
  config DDRMC_VF610_CALIBRATION
  	bool "Enable DDRMC (DDR3) on-chip calibration"
  	depends on ARCH_VF610
  	help
  	  Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
  	  memory parameters. Select this option if you want to calculate them
  	  at boot time.
  	  NOTE:
  	  NXP does NOT recommend to perform this calibration at each boot. One
  	  shall perform it on a new PCB and then use those values to program
  	  the ddrmc_cr_setting on relevant board file.
1cbebc786   Peng Fan   imx: add rom api ...
200
201
202
  
  config SPL_IMX_ROMAPI_LOADADDR
  	hex "Default load address to load image through ROM API"
9d5e1aa78   Peng Fan   imx: Kconfig: mak...
203
  	depends on IMX8MN || IMX8MP
e97bdfa5d   Jorge Ramirez-Ortiz   tools/imximage: s...
204
205
206
207
208
209
210
211
212
213
  
  config IMX_DCD_ADDR
  	hex "DCD Blocks location on the image"
  	default 0x00910000 if !ARCH_MX7ULP
  	default 0x2f010000 if ARCH_MX7ULP
  	help
  	  Indicates where the Device Configuration Data, a binary table used by
  	  the ROM code to configure the device at early boot stage, is located.
  	  This information is shared with the user via mkimage -l just so the
  	  image can be signed.
d5046e6f0   Ye Li   MLK-18591-6 andro...
214

8f3e86b52   Ji Luo   MA-18634-1 Androi...
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
  config ANDROID_SUPPORT
  	bool "Standard Android features support"
  	default n
  	select FSL_FASTBOOT
  	select FASTBOOT_LOCK
  	select BCB_SUPPORT
  	select ANDROID_RECOVERY
  	select SUPPORT_RAW_INITRD
  	select LIBAVB
  	select AVB_SUPPORT
  
  config ANDROID_AUTO_SUPPORT
  	bool "Android Automotive features support"
  	default n
  	select FSL_FASTBOOT
  	select FASTBOOT_LOCK
  	select BCB_SUPPORT
  	select ANDROID_RECOVERY
  	select SUPPORT_RAW_INITRD
  	select LIBAVB
  	select AVB_SUPPORT
  
  config ANDROID_THINGS_SUPPORT
  	bool "Android Things features support"
  	default n
  	select FSL_FASTBOOT
  	select FASTBOOT_LOCK
  	select BCB_SUPPORT
  	select ANDROID_RECOVERY
  	select SUPPORT_RAW_INITRD
  	select LIBAVB
  	select AVB_SUPPORT
  
  config AT_AUTHENTICATE_UNLOCK
  	bool "Enable authenticate unlock for Android Things devices"
  	depends on ANDROID_THINGS_SUPPORT
  
  config ANDROID_AB_SUPPORT
  	bool "Android A/B slots support"
  	depends on ANDROID_SUPPORT || ANDROID_AUTO_SUPPORT || ANDROID_THINGS_SUPPORT
  	default n
  	select SYSTEM_RAMDISK_SUPPORT
  
  config SYSTEM_RAMDISK_SUPPORT
  	bool "Support build ramdisk in system image"
  	default n
  
  menu "TRUSTY OS Support"
d5046e6f0   Ye Li   MLK-18591-6 andro...
263
264
265
266
  config IMX_TRUSTY_OS
  	bool "Support Trusty OS related feature"
  	depends on ARCH_MX6 || ARCH_MX7 || ARCH_IMX8 || ARCH_IMX8M
  	select SYS_ARM_CACHE_WRITEALLOC
8f3e86b52   Ji Luo   MA-18634-1 Androi...
267
268
  	select CMD_MMC_RPMB
  	select SUPPORT_EMMC_RPMB
d5046e6f0   Ye Li   MLK-18591-6 andro...
269
270
271
  
  config SYS_ARM_CACHE_WRITEALLOC
  	bool "support cache write alloc"
8f3e86b52   Ji Luo   MA-18634-1 Androi...
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
  
  config TRUSTY_UNLOCK_PERMISSION
  	bool "Support unlock permission protection in trusty"
  	default y
  	depends on IMX_TRUSTY_OS
  
  config LOAD_KEY_FROM_RPMB
  	bool "Support load AVB public key from RPMB storage"
  	default y
  	depends on IMX_TRUSTY_OS
  
  config ID_ATTESTATION
  	bool "Support device ID attestation"
  	default y
  	depends on IMX_TRUSTY_OS
  
  config ATTESTATION_ID_PRODUCT
  	string "Product name for ID attestation"
  	depends on IMX_TRUSTY_OS && ID_ATTESTATION
  	default SYS_CONFIG_NAME
  
  config SECURE_UNLOCK
  	bool "Enable secure unlock for Android devices, it can only be enabled on HAB closed board"
  	depends on IMX_TRUSTY_OS
  
  endmenu
  
  config APPEND_BOOTARGS
  	bool "Append bootargs support"
  
  config DUAL_BOOTLOADER
  	bool "Enable dual bootloader support"
  	select SPL_MMC_SUPPORT
  	select SPL_MMC_WRITE
  	help
  	  Enable A/B bootloader select in SPL.
  
  config ANDROID_DYNAMIC_PARTITION
  	bool "Support to boot up Android with system image in logical partitions"
  
  config VIRTUAL_AB_SUPPORT
  	bool "Support virtual AB update"
  	select ANDROID_DYNAMIC_PARTITION
  
  config BOOTLOADER_MENU
  	bool "Enable bootloader menu for android device"
  	help
  	  bootloader menu feature for android device.