Tom Rini | 8086a82 | 2021-08-24 20:40:59 -0400 | [diff] [blame] | 1 | config MACH_IMX |
| 2 | bool |
| 3 | |
Breno Lima | 998ffd3 | 2017-11-27 21:09:00 -0200 | [diff] [blame] | 4 | config HAS_CAAM |
| 5 | bool |
| 6 | |
Boris BREZILLON | 6b9b9a0 | 2015-03-04 13:13:04 +0100 | [diff] [blame] | 7 | config IMX_CONFIG |
Tom Rini | 57b9381 | 2021-08-24 20:41:00 -0400 | [diff] [blame] | 8 | string "DCD script to use" |
| 9 | depends on MACH_IMX |
| 10 | default "arch/arm/mach-imx/spl_sd.cfg" |
Adrian Alonso | 994d9cf | 2015-10-12 13:48:09 -0500 | [diff] [blame] | 11 | |
| 12 | config ROM_UNIFIED_SECTIONS |
| 13 | bool |
Peng Fan | 1b64ffa | 2016-01-28 16:55:00 +0800 | [diff] [blame] | 14 | |
Stefan Agner | 4296041 | 2018-01-05 15:08:17 +0100 | [diff] [blame] | 15 | config SYSCOUNTER_TIMER |
| 16 | bool |
| 17 | |
Stefan Agner | 4bb73f1 | 2018-01-05 15:08:18 +0100 | [diff] [blame] | 18 | config GPT_TIMER |
| 19 | bool |
| 20 | |
Tom Rini | 599b11b | 2022-12-02 16:42:18 -0500 | [diff] [blame] | 21 | config MXC_GPT_HCLK |
| 22 | bool |
| 23 | |
Peng Fan | 1b64ffa | 2016-01-28 16:55:00 +0800 | [diff] [blame] | 24 | config 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 Fan | fcabb6d | 2016-01-28 16:55:04 +0800 | [diff] [blame] | 31 | |
| 32 | config IMX_BOOTAUX |
| 33 | bool "Support boot auxiliary core" |
Peng Fan | 5ac9b44 | 2020-05-05 20:18:02 +0800 | [diff] [blame] | 34 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8M |
Peng Fan | fcabb6d | 2016-01-28 16:55:04 +0800 | [diff] [blame] | 35 | help |
| 36 | bootaux [addr] to boot auxiliary core. |
Gary Bisson | f702c1d | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 37 | |
Peng Fan | 415f895 | 2020-05-01 22:08:34 +0800 | [diff] [blame] | 38 | config 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 Fan | 683cf99 | 2016-10-11 14:29:12 +0800 | [diff] [blame] | 45 | config USE_IMXIMG_PLUGIN |
| 46 | bool "Use imximage plugin code" |
Ye Li | ba604b8 | 2019-05-16 03:18:51 +0000 | [diff] [blame] | 47 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP |
Peng Fan | 683cf99 | 2016-10-11 14:29:12 +0800 | [diff] [blame] | 48 | help |
| 49 | i.MX6/7 supports DCD and Plugin. Enable this configuration |
| 50 | to use Plugin, otherwise DCD will be used. |
| 51 | |
Stefano Babic | f8b509b | 2019-09-20 08:47:53 +0200 | [diff] [blame] | 52 | config IMX_HAB |
Gary Bisson | f702c1d | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 53 | bool "Support i.MX HAB features" |
Ricardo Salveti | a3f9820 | 2021-08-23 14:55:12 +0300 | [diff] [blame] | 54 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M || ARCH_MX7ULP |
Breno Lima | 998ffd3 | 2017-11-27 21:09:00 -0200 | [diff] [blame] | 55 | select FSL_CAAM if HAS_CAAM |
Ye Li | 504c667 | 2021-03-25 17:30:18 +0800 | [diff] [blame] | 56 | imply CMD_DEKBLOB if HAS_CAAM |
Gary Bisson | f702c1d | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 57 | help |
| 58 | This option enables the support for secure boot (HAB). |
Patrick Delaunay | 02ff85e | 2020-02-28 15:18:16 +0100 | [diff] [blame] | 59 | See doc/imx/habv4/* for more details. |
Simon Glass | 3ec09a0 | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 60 | |
Breno Matheus Lima | 13960fd | 2019-07-18 12:34:08 +0000 | [diff] [blame] | 61 | config CSF_SIZE |
| 62 | hex "Maximum size for Command Sequence File (CSF) binary" |
Tom Rini | 6081273 | 2020-06-16 19:06:26 -0400 | [diff] [blame] | 63 | depends on IMX_HAB |
| 64 | default 0x2000 if ARCH_IMX8M |
Breno Matheus Lima | c592c34 | 2019-09-23 18:39:47 +0000 | [diff] [blame] | 65 | default 0x2060 |
Breno Matheus Lima | 13960fd | 2019-07-18 12:34:08 +0000 | [diff] [blame] | 66 | 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 Glass | 3ec09a0 | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 70 | config CMD_BMODE |
| 71 | bool "Support the 'bmode' command" |
| 72 | default y |
Marek Vasut | 28c0b63 | 2020-08-05 15:34:04 +0200 | [diff] [blame] | 73 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 |
Simon Glass | 3ec09a0 | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 74 | 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 Glass | 8839124 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 83 | |
| 84 | config CMD_DEKBLOB |
| 85 | bool "Support the 'dek_blob' command" |
Clement Faure | a93b0d9 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 86 | select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP |
| 87 | select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M |
Clement Faure | 9cb2f97 | 2021-03-25 17:30:34 +0800 | [diff] [blame] | 88 | select IMX_SECO_DEK_ENCAP if ARCH_IMX8 |
Clement Faure | 34295a2 | 2023-06-15 18:09:11 +0800 | [diff] [blame^] | 89 | select IMX_ELE_DEK_ENCAP if ARCH_IMX8ULP || ARCH_IMX9 |
Simon Glass | 8839124 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 90 | help |
| 91 | This enables the 'dek_blob' command which is used with the |
| 92 | Freescale secure boot mechanism. This command encapsulates and |
Patrick Delaunay | 02ff85e | 2020-02-28 15:18:16 +0100 | [diff] [blame] | 93 | creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for |
Simon Glass | 8839124 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 94 | more information. |
Simon Glass | f3a50ee | 2017-05-17 03:25:28 -0600 | [diff] [blame] | 95 | |
Clement Faure | a93b0d9 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 96 | config IMX_CAAM_DEK_ENCAP |
| 97 | bool "Support the DEK blob encapsulation with CAAM U-Boot driver" |
| 98 | help |
| 99 | This enables the DEK blob encapsulation with the U-Boot CAAM driver. |
| 100 | This option is only available on imx6, imx7 and imx7ulp. |
| 101 | |
| 102 | config IMX_OPTEE_DEK_ENCAP |
| 103 | select TEE |
| 104 | select OPTEE |
| 105 | bool "Support the DEK blob encapsulation with OP-TEE" |
| 106 | help |
| 107 | This enabled the DEK blob encapsulation with OP-TEE. The communication |
| 108 | with OP-TEE is done through a SMC call and OP-TEE shared memory. This |
| 109 | option is available on imx8mm. |
| 110 | |
Clement Faure | 9cb2f97 | 2021-03-25 17:30:34 +0800 | [diff] [blame] | 111 | config IMX_SECO_DEK_ENCAP |
| 112 | bool "Support the DEK blob encapsulation with SECO" |
| 113 | help |
| 114 | This enabled the DEK blob encapsulation with the SECO API. This option |
| 115 | is only available on imx8. |
| 116 | |
Clement Faure | 34295a2 | 2023-06-15 18:09:11 +0800 | [diff] [blame^] | 117 | config IMX_ELE_DEK_ENCAP |
| 118 | bool "Support the DEK blob encapsulation with ELE" |
| 119 | help |
| 120 | This enabled the DEK blob encapsulation with the ELE API. This option |
| 121 | is only available on imx8ulp and imx9. |
| 122 | |
Clement Le Marquis | 6abb36e | 2021-03-25 17:30:32 +0800 | [diff] [blame] | 123 | config CMD_PRIBLOB |
| 124 | bool "Support the set_priblob_bitfield command" |
| 125 | depends on HAS_CAAM && IMX_HAB |
| 126 | help |
| 127 | This option enables the priblob command which can be used |
| 128 | to set the priblob setting to 0x3. |
| 129 | |
Simon Glass | f3a50ee | 2017-05-17 03:25:28 -0600 | [diff] [blame] | 130 | config CMD_HDMIDETECT |
| 131 | bool "Support the 'hdmidet' command" |
| 132 | help |
| 133 | This enables the 'hdmidet' command which detects if an HDMI monitor |
| 134 | is connected. |
Fabio Estevam | 49bcdd7 | 2017-11-27 10:25:09 -0200 | [diff] [blame] | 135 | |
Shyam Saini | f63ef49 | 2019-06-14 13:05:33 +0530 | [diff] [blame] | 136 | config CMD_NANDBCB |
| 137 | bool "i.MX6 NAND Boot Control Block(BCB) command" |
Miquel Raynal | d093536 | 2019-10-03 19:50:03 +0200 | [diff] [blame] | 138 | depends on MTD_RAW_NAND && CMD_MTDPARTS |
Parthiban Nallathambi | a99188b | 2019-10-18 11:46:19 +0200 | [diff] [blame] | 139 | select BCH if MX6UL || MX6ULL |
Alice Guo | a3f815b | 2020-05-05 22:04:00 +0800 | [diff] [blame] | 140 | default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS) |
Shyam Saini | f63ef49 | 2019-06-14 13:05:33 +0530 | [diff] [blame] | 141 | help |
| 142 | Unlike normal 'nand write/erase' commands, this command update |
| 143 | Boot Control Block(BCB) for i.MX6 platform NAND IP's. |
| 144 | |
| 145 | This is similar to kobs-ng, which is used in Linux as separate |
| 146 | rootfs package. |
| 147 | |
Breno Lima | c89287e | 2021-03-25 17:30:02 +0800 | [diff] [blame] | 148 | config FSL_MFGPROT |
| 149 | bool "Support the 'mfgprot' command" |
Ye Li | 3208169 | 2022-04-19 14:43:24 +0530 | [diff] [blame] | 150 | depends on IMX_HAB && (ARCH_MX7 || ARCH_IMX8M) |
Breno Lima | c89287e | 2021-03-25 17:30:02 +0800 | [diff] [blame] | 151 | help |
| 152 | This option enables the manufacturing protection command |
| 153 | which can be used has a protection feature for Manufacturing |
| 154 | process. With this tool is possible to authenticate the |
| 155 | chip to the OEM's server. |
| 156 | |
Fabio Estevam | 49bcdd7 | 2017-11-27 10:25:09 -0200 | [diff] [blame] | 157 | config NXP_BOARD_REVISION |
| 158 | bool "Read NXP board revision from fuses" |
| 159 | depends on ARCH_MX6 || ARCH_MX7 |
| 160 | help |
| 161 | NXP boards based on i.MX6/7 contain the board revision information |
| 162 | stored in the fuses. Select this option if you want to be able to |
| 163 | retrieve the board revision information. |
Lukasz Majewski | 71d42b3 | 2018-12-05 17:04:02 +0100 | [diff] [blame] | 164 | |
| 165 | config DDRMC_VF610_CALIBRATION |
| 166 | bool "Enable DDRMC (DDR3) on-chip calibration" |
| 167 | depends on ARCH_VF610 |
| 168 | help |
| 169 | Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3 |
| 170 | memory parameters. Select this option if you want to calculate them |
| 171 | at boot time. |
| 172 | NOTE: |
| 173 | NXP does NOT recommend to perform this calibration at each boot. One |
| 174 | shall perform it on a new PCB and then use those values to program |
| 175 | the ddrmc_cr_setting on relevant board file. |
Peng Fan | 3698679 | 2019-09-16 03:09:31 +0000 | [diff] [blame] | 176 | |
Rasmus Villemoes | 120cb85 | 2022-06-20 10:53:17 +0200 | [diff] [blame] | 177 | config IMX8_ROMAPI |
| 178 | def_bool y |
Peng Fan | bbcd2c4 | 2022-07-26 16:40:39 +0800 | [diff] [blame] | 179 | depends on IMX8MN || IMX8MP || IMX8ULP || IMX9 |
Rasmus Villemoes | 120cb85 | 2022-06-20 10:53:17 +0200 | [diff] [blame] | 180 | |
Peng Fan | 3698679 | 2019-09-16 03:09:31 +0000 | [diff] [blame] | 181 | config SPL_IMX_ROMAPI_LOADADDR |
| 182 | hex "Default load address to load image through ROM API" |
Peng Fan | db1f600 | 2022-07-26 16:40:35 +0800 | [diff] [blame] | 183 | depends on IMX8_ROMAPI || SPL_BOOTROM_SUPPORT |
| 184 | default 0 |
Jorge Ramirez-Ortiz | 4b3bfe2 | 2019-12-11 10:42:36 +0100 | [diff] [blame] | 185 | |
| 186 | config IMX_DCD_ADDR |
| 187 | hex "DCD Blocks location on the image" |
| 188 | default 0x00910000 if !ARCH_MX7ULP |
| 189 | default 0x2f010000 if ARCH_MX7ULP |
| 190 | help |
| 191 | Indicates where the Device Configuration Data, a binary table used by |
| 192 | the ROM code to configure the device at early boot stage, is located. |
| 193 | This information is shared with the user via mkimage -l just so the |
| 194 | image can be signed. |
Peng Fan | 718d55d | 2021-08-07 16:00:40 +0800 | [diff] [blame] | 195 | |
| 196 | config SPL_LOAD_IMX_CONTAINER |
| 197 | bool "Enable SPL loading U-Boot as a i.MX Container image" |
| 198 | depends on SPL |
| 199 | help |
| 200 | This is to let SPL could load i.MX Container image |
| 201 | |
| 202 | config IMX_CONTAINER_CFG |
| 203 | string "i.MX Container config file" |
| 204 | depends on SPL |
| 205 | help |
| 206 | This is to specific the cfg file for generating container |
| 207 | image which will be loaded by SPL. |
Tom Rini | 945a668 | 2022-11-19 18:45:22 -0500 | [diff] [blame] | 208 | |
| 209 | config IOMUX_LPSR |
| 210 | bool |
| 211 | |
| 212 | config IOMUX_SHARE_CONF_REG |
| 213 | bool |