Tom Rini | 0c2729e | 2021-08-24 20:40:59 -0400 | [diff] [blame^] | 1 | config MACH_IMX |
| 2 | bool |
| 3 | |
Breno Lima | 52384b7 | 2017-11-27 21:09:00 -0200 | [diff] [blame] | 4 | config HAS_CAAM |
| 5 | bool |
| 6 | |
Boris BREZILLON | a05a604 | 2015-03-04 13:13:04 +0100 | [diff] [blame] | 7 | config IMX_CONFIG |
| 8 | string |
Adrian Alonso | a89729c | 2015-10-12 13:48:09 -0500 | [diff] [blame] | 9 | |
| 10 | config ROM_UNIFIED_SECTIONS |
| 11 | bool |
Peng Fan | de09c43 | 2016-01-28 16:55:00 +0800 | [diff] [blame] | 12 | |
Stefan Agner | 616aa55 | 2018-01-05 15:08:17 +0100 | [diff] [blame] | 13 | config SYSCOUNTER_TIMER |
| 14 | bool |
| 15 | |
Stefan Agner | 23b6a13 | 2018-01-05 15:08:18 +0100 | [diff] [blame] | 16 | config GPT_TIMER |
| 17 | bool |
| 18 | |
Peng Fan | de09c43 | 2016-01-28 16:55:00 +0800 | [diff] [blame] | 19 | config IMX_RDC |
| 20 | bool "i.MX Resource domain controller driver" |
| 21 | depends on ARCH_MX6 || ARCH_MX7 |
| 22 | help |
| 23 | i.MX Resource domain controller is used to assign masters |
| 24 | and peripherals to differet domains. This can be used to |
| 25 | isolate resources. |
Peng Fan | 6f6058b | 2016-01-28 16:55:04 +0800 | [diff] [blame] | 26 | |
| 27 | config IMX_BOOTAUX |
| 28 | bool "Support boot auxiliary core" |
Peng Fan | f3e1c53 | 2020-05-05 20:18:02 +0800 | [diff] [blame] | 29 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8M |
Peng Fan | 6f6058b | 2016-01-28 16:55:04 +0800 | [diff] [blame] | 30 | help |
| 31 | bootaux [addr] to boot auxiliary core. |
Gary Bisson | 6e1f4d2 | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 32 | |
Peng Fan | 3c42c0f | 2020-05-01 22:08:34 +0800 | [diff] [blame] | 33 | config IMX_MODULE_FUSE |
| 34 | bool "i.MX Module Fuse" |
| 35 | depends on ARCH_MX6 |
| 36 | help |
| 37 | i.MX module fuse to runtime disable some driver, including |
| 38 | Linux OS device node. |
| 39 | |
Peng Fan | 8b62d54 | 2016-10-11 14:29:12 +0800 | [diff] [blame] | 40 | config USE_IMXIMG_PLUGIN |
| 41 | bool "Use imximage plugin code" |
Ye Li | 15bae9a | 2019-05-16 03:18:51 +0000 | [diff] [blame] | 42 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP |
Peng Fan | 8b62d54 | 2016-10-11 14:29:12 +0800 | [diff] [blame] | 43 | help |
| 44 | i.MX6/7 supports DCD and Plugin. Enable this configuration |
| 45 | to use Plugin, otherwise DCD will be used. |
| 46 | |
Stefano Babic | d714a75 | 2019-09-20 08:47:53 +0200 | [diff] [blame] | 47 | config IMX_HAB |
Gary Bisson | 6e1f4d2 | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 48 | bool "Support i.MX HAB features" |
Ye Li | 41b230b | 2021-03-25 17:30:17 +0800 | [diff] [blame] | 49 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M |
Breno Lima | 52384b7 | 2017-11-27 21:09:00 -0200 | [diff] [blame] | 50 | select FSL_CAAM if HAS_CAAM |
Ye Li | e149b98 | 2021-03-25 17:30:18 +0800 | [diff] [blame] | 51 | imply CMD_DEKBLOB if HAS_CAAM |
Gary Bisson | 6e1f4d2 | 2016-08-25 19:03:16 +0200 | [diff] [blame] | 52 | help |
| 53 | This option enables the support for secure boot (HAB). |
Patrick Delaunay | 9d82cbd | 2020-02-28 15:18:16 +0100 | [diff] [blame] | 54 | See doc/imx/habv4/* for more details. |
Simon Glass | 218257b | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 55 | |
Breno Matheus Lima | 5f2fe3b | 2019-07-18 12:34:08 +0000 | [diff] [blame] | 56 | config CSF_SIZE |
| 57 | hex "Maximum size for Command Sequence File (CSF) binary" |
Tom Rini | 7d80a9c | 2020-06-16 19:06:26 -0400 | [diff] [blame] | 58 | depends on IMX_HAB |
| 59 | default 0x2000 if ARCH_IMX8M |
Breno Matheus Lima | 5b20d14 | 2019-09-23 18:39:47 +0000 | [diff] [blame] | 60 | default 0x2060 |
Breno Matheus Lima | 5f2fe3b | 2019-07-18 12:34:08 +0000 | [diff] [blame] | 61 | help |
| 62 | Define the maximum size for Command Sequence File (CSF) binary |
| 63 | this information is used to define the image boot data. |
| 64 | |
Simon Glass | 218257b | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 65 | config CMD_BMODE |
| 66 | bool "Support the 'bmode' command" |
| 67 | default y |
Marek Vasut | c72372d | 2020-08-05 15:34:04 +0200 | [diff] [blame] | 68 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 |
Simon Glass | 218257b | 2017-04-26 22:27:54 -0600 | [diff] [blame] | 69 | help |
| 70 | This enables the 'bmode' (bootmode) command for forcing |
| 71 | a boot from specific media. |
| 72 | |
| 73 | This is useful for forcing the ROM's usb downloader to |
| 74 | activate upon a watchdog reset which is nice when iterating |
| 75 | on U-Boot. Using the reset button or running bmode normal |
| 76 | will set it back to normal. This command currently |
| 77 | supports i.MX53 and i.MX6. |
Simon Glass | d569c95 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 78 | |
| 79 | config CMD_DEKBLOB |
| 80 | bool "Support the 'dek_blob' command" |
Clement Faure | 56d2050 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 81 | select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP |
| 82 | select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M |
Clement Faure | 69f542c | 2021-03-25 17:30:34 +0800 | [diff] [blame] | 83 | select IMX_SECO_DEK_ENCAP if ARCH_IMX8 |
Simon Glass | d569c95 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 84 | help |
| 85 | This enables the 'dek_blob' command which is used with the |
| 86 | Freescale secure boot mechanism. This command encapsulates and |
Patrick Delaunay | 9d82cbd | 2020-02-28 15:18:16 +0100 | [diff] [blame] | 87 | creates a blob of data. See also CMD_BLOB and doc/imx/habv4/* for |
Simon Glass | d569c95 | 2017-04-26 22:28:06 -0600 | [diff] [blame] | 88 | more information. |
Simon Glass | 7a01f3c | 2017-05-17 03:25:28 -0600 | [diff] [blame] | 89 | |
Clement Faure | 56d2050 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 90 | config IMX_CAAM_DEK_ENCAP |
| 91 | bool "Support the DEK blob encapsulation with CAAM U-Boot driver" |
| 92 | help |
| 93 | This enables the DEK blob encapsulation with the U-Boot CAAM driver. |
| 94 | This option is only available on imx6, imx7 and imx7ulp. |
| 95 | |
| 96 | config IMX_OPTEE_DEK_ENCAP |
| 97 | select TEE |
| 98 | select OPTEE |
| 99 | bool "Support the DEK blob encapsulation with OP-TEE" |
| 100 | help |
| 101 | This enabled the DEK blob encapsulation with OP-TEE. The communication |
| 102 | with OP-TEE is done through a SMC call and OP-TEE shared memory. This |
| 103 | option is available on imx8mm. |
| 104 | |
Clement Faure | 69f542c | 2021-03-25 17:30:34 +0800 | [diff] [blame] | 105 | config IMX_SECO_DEK_ENCAP |
| 106 | bool "Support the DEK blob encapsulation with SECO" |
| 107 | help |
| 108 | This enabled the DEK blob encapsulation with the SECO API. This option |
| 109 | is only available on imx8. |
| 110 | |
Clement Le Marquis | 613cf23 | 2021-03-25 17:30:32 +0800 | [diff] [blame] | 111 | config CMD_PRIBLOB |
| 112 | bool "Support the set_priblob_bitfield command" |
| 113 | depends on HAS_CAAM && IMX_HAB |
| 114 | help |
| 115 | This option enables the priblob command which can be used |
| 116 | to set the priblob setting to 0x3. |
| 117 | |
Simon Glass | 7a01f3c | 2017-05-17 03:25:28 -0600 | [diff] [blame] | 118 | config CMD_HDMIDETECT |
| 119 | bool "Support the 'hdmidet' command" |
| 120 | help |
| 121 | This enables the 'hdmidet' command which detects if an HDMI monitor |
| 122 | is connected. |
Fabio Estevam | 4555c26 | 2017-11-27 10:25:09 -0200 | [diff] [blame] | 123 | |
Shyam Saini | 1d43e24 | 2019-06-14 13:05:33 +0530 | [diff] [blame] | 124 | config CMD_NANDBCB |
| 125 | bool "i.MX6 NAND Boot Control Block(BCB) command" |
Miquel Raynal | 88718be | 2019-10-03 19:50:03 +0200 | [diff] [blame] | 126 | depends on MTD_RAW_NAND && CMD_MTDPARTS |
Parthiban Nallathambi | 6aa8749 | 2019-10-18 11:46:19 +0200 | [diff] [blame] | 127 | select BCH if MX6UL || MX6ULL |
Alice Guo | 66dbd9c | 2020-05-05 22:04:00 +0800 | [diff] [blame] | 128 | default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS) |
Shyam Saini | 1d43e24 | 2019-06-14 13:05:33 +0530 | [diff] [blame] | 129 | help |
| 130 | Unlike normal 'nand write/erase' commands, this command update |
| 131 | Boot Control Block(BCB) for i.MX6 platform NAND IP's. |
| 132 | |
| 133 | This is similar to kobs-ng, which is used in Linux as separate |
| 134 | rootfs package. |
| 135 | |
Breno Lima | 30e39ac | 2021-03-25 17:30:02 +0800 | [diff] [blame] | 136 | config FSL_MFGPROT |
| 137 | bool "Support the 'mfgprot' command" |
| 138 | depends on IMX_HAB && ARCH_MX7 |
| 139 | help |
| 140 | This option enables the manufacturing protection command |
| 141 | which can be used has a protection feature for Manufacturing |
| 142 | process. With this tool is possible to authenticate the |
| 143 | chip to the OEM's server. |
| 144 | |
Fabio Estevam | 4555c26 | 2017-11-27 10:25:09 -0200 | [diff] [blame] | 145 | config NXP_BOARD_REVISION |
| 146 | bool "Read NXP board revision from fuses" |
| 147 | depends on ARCH_MX6 || ARCH_MX7 |
| 148 | help |
| 149 | NXP boards based on i.MX6/7 contain the board revision information |
| 150 | stored in the fuses. Select this option if you want to be able to |
| 151 | retrieve the board revision information. |
Lukasz Majewski | 548cc10 | 2018-12-05 17:04:02 +0100 | [diff] [blame] | 152 | |
| 153 | config DDRMC_VF610_CALIBRATION |
| 154 | bool "Enable DDRMC (DDR3) on-chip calibration" |
| 155 | depends on ARCH_VF610 |
| 156 | help |
| 157 | Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3 |
| 158 | memory parameters. Select this option if you want to calculate them |
| 159 | at boot time. |
| 160 | NOTE: |
| 161 | NXP does NOT recommend to perform this calibration at each boot. One |
| 162 | shall perform it on a new PCB and then use those values to program |
| 163 | the ddrmc_cr_setting on relevant board file. |
Peng Fan | 1cbebc7 | 2019-09-16 03:09:31 +0000 | [diff] [blame] | 164 | |
| 165 | config SPL_IMX_ROMAPI_LOADADDR |
| 166 | hex "Default load address to load image through ROM API" |
Ye Li | 6f3858d | 2021-08-07 16:00:39 +0800 | [diff] [blame] | 167 | depends on IMX8MN || IMX8MP || IMX8ULP |
Jorge Ramirez-Ortiz | e97bdfa | 2019-12-11 10:42:36 +0100 | [diff] [blame] | 168 | |
| 169 | config IMX_DCD_ADDR |
| 170 | hex "DCD Blocks location on the image" |
| 171 | default 0x00910000 if !ARCH_MX7ULP |
| 172 | default 0x2f010000 if ARCH_MX7ULP |
| 173 | help |
| 174 | Indicates where the Device Configuration Data, a binary table used by |
| 175 | the ROM code to configure the device at early boot stage, is located. |
| 176 | This information is shared with the user via mkimage -l just so the |
| 177 | image can be signed. |
Peng Fan | 3854a06 | 2021-08-07 16:00:40 +0800 | [diff] [blame] | 178 | |
| 179 | config SPL_LOAD_IMX_CONTAINER |
| 180 | bool "Enable SPL loading U-Boot as a i.MX Container image" |
| 181 | depends on SPL |
| 182 | help |
| 183 | This is to let SPL could load i.MX Container image |
| 184 | |
| 185 | config IMX_CONTAINER_CFG |
| 186 | string "i.MX Container config file" |
| 187 | depends on SPL |
| 188 | help |
| 189 | This is to specific the cfg file for generating container |
| 190 | image which will be loaded by SPL. |