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