blob: 3266545c2663b71d4de55fd62a4171968b6a1eb8 [file] [log] [blame]
Tom Rini0c2729e2021-08-24 20:40:59 -04001config MACH_IMX
2 bool
3
Breno Lima52384b72017-11-27 21:09:00 -02004config HAS_CAAM
5 bool
6
Boris BREZILLONa05a6042015-03-04 13:13:04 +01007config IMX_CONFIG
Tom Rini148b8bb2021-08-24 20:41:00 -04008 string "DCD script to use"
9 depends on MACH_IMX
10 default "arch/arm/mach-imx/spl_sd.cfg"
Adrian Alonsoa89729c2015-10-12 13:48:09 -050011
12config ROM_UNIFIED_SECTIONS
13 bool
Peng Fande09c432016-01-28 16:55:00 +080014
Stefan Agner616aa552018-01-05 15:08:17 +010015config SYSCOUNTER_TIMER
16 bool
17
Stefan Agner23b6a132018-01-05 15:08:18 +010018config GPT_TIMER
19 bool
20
Tom Rini9b0240f2022-12-02 16:42:18 -050021config MXC_GPT_HCLK
22 bool
23
Peng Fande09c432016-01-28 16:55:00 +080024config IMX_RDC
25 bool "i.MX Resource domain controller driver"
26 depends on ARCH_MX6 || ARCH_MX7
27 help
28 i.MX Resource domain controller is used to assign masters
29 and peripherals to differet domains. This can be used to
30 isolate resources.
Peng Fan6f6058b2016-01-28 16:55:04 +080031
32config IMX_BOOTAUX
33 bool "Support boot auxiliary core"
Peng Fanf3e1c532020-05-05 20:18:02 +080034 depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8M
Peng Fan6f6058b2016-01-28 16:55:04 +080035 help
36 bootaux [addr] to boot auxiliary core.
Gary Bisson6e1f4d22016-08-25 19:03:16 +020037
Peng Fan3c42c0f2020-05-01 22:08:34 +080038config IMX_MODULE_FUSE
39 bool "i.MX Module Fuse"
40 depends on ARCH_MX6
41 help
42 i.MX module fuse to runtime disable some driver, including
43 Linux OS device node.
44
Peng Fan8b62d542016-10-11 14:29:12 +080045config USE_IMXIMG_PLUGIN
46 bool "Use imximage plugin code"
Ye Li15bae9a2019-05-16 03:18:51 +000047 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP
Peng Fan8b62d542016-10-11 14:29:12 +080048 help
49 i.MX6/7 supports DCD and Plugin. Enable this configuration
50 to use Plugin, otherwise DCD will be used.
51
Stefano Babicd714a752019-09-20 08:47:53 +020052config IMX_HAB
Gary Bisson6e1f4d22016-08-25 19:03:16 +020053 bool "Support i.MX HAB features"
Ricardo Salveti88f4f502021-08-23 14:55:12 +030054 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M || ARCH_MX7ULP
Breno Lima52384b72017-11-27 21:09:00 -020055 select FSL_CAAM if HAS_CAAM
Ye Lie149b982021-03-25 17:30:18 +080056 imply CMD_DEKBLOB if HAS_CAAM
Gary Bisson6e1f4d22016-08-25 19:03:16 +020057 help
58 This option enables the support for secure boot (HAB).
Patrick Delaunay9d82cbd2020-02-28 15:18:16 +010059 See doc/imx/habv4/* for more details.
Simon Glass218257b2017-04-26 22:27:54 -060060
Breno Matheus Lima5f2fe3b2019-07-18 12:34:08 +000061config CSF_SIZE
62 hex "Maximum size for Command Sequence File (CSF) binary"
Tom Rini7d80a9c2020-06-16 19:06:26 -040063 depends on IMX_HAB
64 default 0x2000 if ARCH_IMX8M
Breno Matheus Lima5b20d142019-09-23 18:39:47 +000065 default 0x2060
Breno Matheus Lima5f2fe3b2019-07-18 12:34:08 +000066 help
67 Define the maximum size for Command Sequence File (CSF) binary
68 this information is used to define the image boot data.
69
Simon Glass218257b2017-04-26 22:27:54 -060070config CMD_BMODE
71 bool "Support the 'bmode' command"
72 default y
Marek Vasutc72372d2020-08-05 15:34:04 +020073 depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
Simon Glass218257b2017-04-26 22:27:54 -060074 help
75 This enables the 'bmode' (bootmode) command for forcing
76 a boot from specific media.
77
78 This is useful for forcing the ROM's usb downloader to
79 activate upon a watchdog reset which is nice when iterating
80 on U-Boot. Using the reset button or running bmode normal
81 will set it back to normal. This command currently
82 supports i.MX53 and i.MX6.
Simon Glassd569c952017-04-26 22:28:06 -060083
84config CMD_DEKBLOB
85 bool "Support the 'dek_blob' command"
Clement Faure56d20502021-03-25 17:30:33 +080086 select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
87 select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M
Clement Faure69f542c2021-03-25 17:30:34 +080088 select IMX_SECO_DEK_ENCAP if ARCH_IMX8
Simon Glassd569c952017-04-26 22:28:06 -060089 help
90 This enables the 'dek_blob' command which is used with the
91 Freescale secure boot mechanism. This command encapsulates and
Patrick Delaunay9d82cbd2020-02-28 15:18:16 +010092 creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for
Simon Glassd569c952017-04-26 22:28:06 -060093 more information.
Simon Glass7a01f3c2017-05-17 03:25:28 -060094
Clement Faure56d20502021-03-25 17:30:33 +080095config IMX_CAAM_DEK_ENCAP
96 bool "Support the DEK blob encapsulation with CAAM U-Boot driver"
97 help
98 This enables the DEK blob encapsulation with the U-Boot CAAM driver.
99 This option is only available on imx6, imx7 and imx7ulp.
100
101config IMX_OPTEE_DEK_ENCAP
102 select TEE
103 select OPTEE
104 bool "Support the DEK blob encapsulation with OP-TEE"
105 help
106 This enabled the DEK blob encapsulation with OP-TEE. The communication
107 with OP-TEE is done through a SMC call and OP-TEE shared memory. This
108 option is available on imx8mm.
109
Clement Faure69f542c2021-03-25 17:30:34 +0800110config IMX_SECO_DEK_ENCAP
111 bool "Support the DEK blob encapsulation with SECO"
112 help
113 This enabled the DEK blob encapsulation with the SECO API. This option
114 is only available on imx8.
115
Clement Le Marquis613cf232021-03-25 17:30:32 +0800116config CMD_PRIBLOB
117 bool "Support the set_priblob_bitfield command"
118 depends on HAS_CAAM && IMX_HAB
119 help
120 This option enables the priblob command which can be used
121 to set the priblob setting to 0x3.
122
Simon Glass7a01f3c2017-05-17 03:25:28 -0600123config CMD_HDMIDETECT
124 bool "Support the 'hdmidet' command"
125 help
126 This enables the 'hdmidet' command which detects if an HDMI monitor
127 is connected.
Fabio Estevam4555c262017-11-27 10:25:09 -0200128
Shyam Saini1d43e242019-06-14 13:05:33 +0530129config CMD_NANDBCB
130 bool "i.MX6 NAND Boot Control Block(BCB) command"
Miquel Raynal88718be2019-10-03 19:50:03 +0200131 depends on MTD_RAW_NAND && CMD_MTDPARTS
Parthiban Nallathambi6aa87492019-10-18 11:46:19 +0200132 select BCH if MX6UL || MX6ULL
Alice Guo66dbd9c2020-05-05 22:04:00 +0800133 default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
Shyam Saini1d43e242019-06-14 13:05:33 +0530134 help
135 Unlike normal 'nand write/erase' commands, this command update
136 Boot Control Block(BCB) for i.MX6 platform NAND IP's.
137
138 This is similar to kobs-ng, which is used in Linux as separate
139 rootfs package.
140
Breno Lima30e39ac2021-03-25 17:30:02 +0800141config FSL_MFGPROT
142 bool "Support the 'mfgprot' command"
Ye Li92aff902022-04-19 14:43:24 +0530143 depends on IMX_HAB && (ARCH_MX7 || ARCH_IMX8M)
Breno Lima30e39ac2021-03-25 17:30:02 +0800144 help
145 This option enables the manufacturing protection command
146 which can be used has a protection feature for Manufacturing
147 process. With this tool is possible to authenticate the
148 chip to the OEM's server.
149
Fabio Estevam4555c262017-11-27 10:25:09 -0200150config NXP_BOARD_REVISION
151 bool "Read NXP board revision from fuses"
152 depends on ARCH_MX6 || ARCH_MX7
153 help
154 NXP boards based on i.MX6/7 contain the board revision information
155 stored in the fuses. Select this option if you want to be able to
156 retrieve the board revision information.
Lukasz Majewski548cc102018-12-05 17:04:02 +0100157
158config DDRMC_VF610_CALIBRATION
159 bool "Enable DDRMC (DDR3) on-chip calibration"
160 depends on ARCH_VF610
161 help
162 Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
163 memory parameters. Select this option if you want to calculate them
164 at boot time.
165 NOTE:
166 NXP does NOT recommend to perform this calibration at each boot. One
167 shall perform it on a new PCB and then use those values to program
168 the ddrmc_cr_setting on relevant board file.
Peng Fan1cbebc72019-09-16 03:09:31 +0000169
Rasmus Villemoes8e290152022-06-20 10:53:17 +0200170config IMX8_ROMAPI
171 def_bool y
Peng Fan881df6e2022-07-26 16:40:39 +0800172 depends on IMX8MN || IMX8MP || IMX8ULP || IMX9
Rasmus Villemoes8e290152022-06-20 10:53:17 +0200173
Peng Fan1cbebc72019-09-16 03:09:31 +0000174config SPL_IMX_ROMAPI_LOADADDR
175 hex "Default load address to load image through ROM API"
Peng Fan793b7602022-07-26 16:40:35 +0800176 depends on IMX8_ROMAPI || SPL_BOOTROM_SUPPORT
177 default 0
Jorge Ramirez-Ortize97bdfa2019-12-11 10:42:36 +0100178
179config IMX_DCD_ADDR
180 hex "DCD Blocks location on the image"
181 default 0x00910000 if !ARCH_MX7ULP
182 default 0x2f010000 if ARCH_MX7ULP
183 help
184 Indicates where the Device Configuration Data, a binary table used by
185 the ROM code to configure the device at early boot stage, is located.
186 This information is shared with the user via mkimage -l just so the
187 image can be signed.
Peng Fan3854a062021-08-07 16:00:40 +0800188
189config SPL_LOAD_IMX_CONTAINER
190 bool "Enable SPL loading U-Boot as a i.MX Container image"
191 depends on SPL
192 help
193 This is to let SPL could load i.MX Container image
194
195config IMX_CONTAINER_CFG
196 string "i.MX Container config file"
197 depends on SPL
198 help
199 This is to specific the cfg file for generating container
200 image which will be loaded by SPL.
Tom Rinic136a862022-11-19 18:45:22 -0500201
202config IOMUX_LPSR
203 bool
204
205config IOMUX_SHARE_CONF_REG
206 bool