Commit 7a57cfa932426984b996c3b4e34c7984a27968b4
Committed by
Ye Li
1 parent
7fadef3d13
Exists in
smarc_8mq_lf_v2020.04
and in
4 other branches
MLK-22954-2: Kconfig: change the nandbcb Kconfig for iMX8QX
Add the ARCH_MX8 in Kconfig for supporting iMX8QX in nandbcb Signed-off-by: Han Xu <han.xu@nxp.com> (cherry picked from commit a91c8b42b6d8385bbd09652a5e18e3c2286eb305)
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
arch/arm/mach-imx/Kconfig
1 | config HAS_CAAM | 1 | config HAS_CAAM |
2 | bool | 2 | bool |
3 | 3 | ||
4 | config IMX_CONFIG | 4 | config IMX_CONFIG |
5 | string | 5 | string |
6 | 6 | ||
7 | config IMX_OPTEE | 7 | config IMX_OPTEE |
8 | bool "Support OP-TEE" | 8 | bool "Support OP-TEE" |
9 | help | 9 | help |
10 | Enable support for OP-TEE | 10 | Enable support for OP-TEE |
11 | 11 | ||
12 | config ROM_UNIFIED_SECTIONS | 12 | config ROM_UNIFIED_SECTIONS |
13 | bool | 13 | bool |
14 | 14 | ||
15 | config SYSCOUNTER_TIMER | 15 | config SYSCOUNTER_TIMER |
16 | bool | 16 | bool |
17 | 17 | ||
18 | config GPT_TIMER | 18 | config GPT_TIMER |
19 | bool | 19 | bool |
20 | 20 | ||
21 | config FSL_CAAM_KB | 21 | config FSL_CAAM_KB |
22 | bool | 22 | bool |
23 | 23 | ||
24 | config IMX_SEC_INIT | 24 | config IMX_SEC_INIT |
25 | bool | 25 | bool |
26 | help | 26 | help |
27 | In most of i.MX board with CAAM this option is used | 27 | In most of i.MX board with CAAM this option is used |
28 | to init RNG from U-Boot | 28 | to init RNG from U-Boot |
29 | select FSL_CAAM_KB | 29 | select FSL_CAAM_KB |
30 | select SPL_CRYPTO_SUPPORT if SPL | 30 | select SPL_CRYPTO_SUPPORT if SPL |
31 | 31 | ||
32 | config IMX_RDC | 32 | config IMX_RDC |
33 | bool "i.MX Resource domain controller driver" | 33 | bool "i.MX Resource domain controller driver" |
34 | depends on ARCH_MX6 || ARCH_MX7 | 34 | depends on ARCH_MX6 || ARCH_MX7 |
35 | help | 35 | help |
36 | i.MX Resource domain controller is used to assign masters | 36 | i.MX Resource domain controller is used to assign masters |
37 | and peripherals to differet domains. This can be used to | 37 | and peripherals to differet domains. This can be used to |
38 | isolate resources. | 38 | isolate resources. |
39 | 39 | ||
40 | config IMX_BOOTAUX | 40 | config IMX_BOOTAUX |
41 | bool "Support boot auxiliary core" | 41 | bool "Support boot auxiliary core" |
42 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8 || ARCH_IMX8M | 42 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_VF610 || ARCH_IMX8 || ARCH_IMX8M |
43 | help | 43 | help |
44 | bootaux [addr] to boot auxiliary core. | 44 | bootaux [addr] to boot auxiliary core. |
45 | 45 | ||
46 | config IMX_VSERVICE_SHARED_BUFFER | 46 | config IMX_VSERVICE_SHARED_BUFFER |
47 | hex "Define the buffer address used for virtual service" | 47 | hex "Define the buffer address used for virtual service" |
48 | depends on IMX_VSERVICE | 48 | depends on IMX_VSERVICE |
49 | help | 49 | help |
50 | IMX virtual service will use this buffer for exchanging data with remote core. | 50 | IMX virtual service will use this buffer for exchanging data with remote core. |
51 | 51 | ||
52 | config IMX_VSERVICE_SHARED_BUFFER_SIZE | 52 | config IMX_VSERVICE_SHARED_BUFFER_SIZE |
53 | hex "Define the size of buffer address used for virtual service" | 53 | hex "Define the size of buffer address used for virtual service" |
54 | default 0x400000 | 54 | default 0x400000 |
55 | depends on IMX_VSERVICE | 55 | depends on IMX_VSERVICE |
56 | help | 56 | help |
57 | The buffer size for IMX virtual service needs enough large to fit all possible message. | 57 | The buffer size for IMX virtual service needs enough large to fit all possible message. |
58 | 58 | ||
59 | config IMX_VSERVICE | 59 | config IMX_VSERVICE |
60 | bool | 60 | bool |
61 | select MISC | 61 | select MISC |
62 | select IMX_M4_MU | 62 | select IMX_M4_MU |
63 | help | 63 | help |
64 | This enables imx virtual service provides framework for imx virtual driver working. | 64 | This enables imx virtual service provides framework for imx virtual driver working. |
65 | 65 | ||
66 | config USE_IMXIMG_PLUGIN | 66 | config USE_IMXIMG_PLUGIN |
67 | bool "Use imximage plugin code" | 67 | bool "Use imximage plugin code" |
68 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP | 68 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX7ULP |
69 | help | 69 | help |
70 | i.MX6/7 supports DCD and Plugin. Enable this configuration | 70 | i.MX6/7 supports DCD and Plugin. Enable this configuration |
71 | to use Plugin, otherwise DCD will be used. | 71 | to use Plugin, otherwise DCD will be used. |
72 | 72 | ||
73 | config IMX_HAB | 73 | config IMX_HAB |
74 | bool "Support i.MX HAB features" | 74 | bool "Support i.MX HAB features" |
75 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M | 75 | depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M |
76 | select FSL_CAAM if HAS_CAAM | 76 | select FSL_CAAM if HAS_CAAM |
77 | imply CMD_DEKBLOB if HAS_CAAM | 77 | imply CMD_DEKBLOB if HAS_CAAM |
78 | help | 78 | help |
79 | This option enables the support for secure boot (HAB). | 79 | This option enables the support for secure boot (HAB). |
80 | See doc/README.mxc_hab for more details. | 80 | See doc/README.mxc_hab for more details. |
81 | 81 | ||
82 | config CSF_SIZE | 82 | config CSF_SIZE |
83 | hex "Maximum size for Command Sequence File (CSF) binary" | 83 | hex "Maximum size for Command Sequence File (CSF) binary" |
84 | default 0x2060 | 84 | default 0x2060 |
85 | help | 85 | help |
86 | Define the maximum size for Command Sequence File (CSF) binary | 86 | Define the maximum size for Command Sequence File (CSF) binary |
87 | this information is used to define the image boot data. | 87 | this information is used to define the image boot data. |
88 | 88 | ||
89 | config CMD_BMODE | 89 | config CMD_BMODE |
90 | bool "Support the 'bmode' command" | 90 | bool "Support the 'bmode' command" |
91 | default y | 91 | default y |
92 | depends on ARCH_MX6 || ARCH_MX5 | 92 | depends on ARCH_MX6 || ARCH_MX5 |
93 | help | 93 | help |
94 | This enables the 'bmode' (bootmode) command for forcing | 94 | This enables the 'bmode' (bootmode) command for forcing |
95 | a boot from specific media. | 95 | a boot from specific media. |
96 | 96 | ||
97 | This is useful for forcing the ROM's usb downloader to | 97 | This is useful for forcing the ROM's usb downloader to |
98 | activate upon a watchdog reset which is nice when iterating | 98 | activate upon a watchdog reset which is nice when iterating |
99 | on U-Boot. Using the reset button or running bmode normal | 99 | on U-Boot. Using the reset button or running bmode normal |
100 | will set it back to normal. This command currently | 100 | will set it back to normal. This command currently |
101 | supports i.MX53 and i.MX6. | 101 | supports i.MX53 and i.MX6. |
102 | 102 | ||
103 | config CMD_DEKBLOB | 103 | config CMD_DEKBLOB |
104 | bool "Support the 'dek_blob' command" | 104 | bool "Support the 'dek_blob' command" |
105 | select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP | 105 | select IMX_CAAM_DEK_ENCAP if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP |
106 | select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M | 106 | select IMX_OPTEE_DEK_ENCAP if ARCH_IMX8M |
107 | select IMX_SECO_DEK_ENCAP if ARCH_IMX8 | 107 | select IMX_SECO_DEK_ENCAP if ARCH_IMX8 |
108 | help | 108 | help |
109 | This enables the 'dek_blob' command which is used with the | 109 | This enables the 'dek_blob' command which is used with the |
110 | Freescale secure boot mechanism. This command encapsulates and | 110 | Freescale secure boot mechanism. This command encapsulates and |
111 | creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for | 111 | creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for |
112 | more information. | 112 | more information. |
113 | 113 | ||
114 | config IMX_CAAM_DEK_ENCAP | 114 | config IMX_CAAM_DEK_ENCAP |
115 | bool "Support the DEK blob encapsulation with CAAM U-Boot driver" | 115 | bool "Support the DEK blob encapsulation with CAAM U-Boot driver" |
116 | help | 116 | help |
117 | This enables the DEK blob encapsulation with the U-Boot CAAM driver. | 117 | This enables the DEK blob encapsulation with the U-Boot CAAM driver. |
118 | This option is only available on imx6, imx7 and imx7ulp. | 118 | This option is only available on imx6, imx7 and imx7ulp. |
119 | 119 | ||
120 | config IMX_OPTEE_DEK_ENCAP | 120 | config IMX_OPTEE_DEK_ENCAP |
121 | select TEE | 121 | select TEE |
122 | select OPTEE | 122 | select OPTEE |
123 | bool "Support the DEK blob encapsulation with OP-TEE" | 123 | bool "Support the DEK blob encapsulation with OP-TEE" |
124 | help | 124 | help |
125 | This enabled the DEK blob encapsulation with OP-TEE. The communication | 125 | This enabled the DEK blob encapsulation with OP-TEE. The communication |
126 | with OP-TEE is done through a SMC call and OP-TEE shared memory. This | 126 | with OP-TEE is done through a SMC call and OP-TEE shared memory. This |
127 | option is available on imx8mm. | 127 | option is available on imx8mm. |
128 | 128 | ||
129 | config IMX_SECO_DEK_ENCAP | 129 | config IMX_SECO_DEK_ENCAP |
130 | bool "Support the DEK blob encapsulation with SECO" | 130 | bool "Support the DEK blob encapsulation with SECO" |
131 | help | 131 | help |
132 | This enabled the DEK blob encapsulation with the SECO API. This option | 132 | This enabled the DEK blob encapsulation with the SECO API. This option |
133 | is only available on imx8. | 133 | is only available on imx8. |
134 | 134 | ||
135 | config CMD_PRIBLOB | 135 | config CMD_PRIBLOB |
136 | bool "Support the set_priblob_bitfield command" | 136 | bool "Support the set_priblob_bitfield command" |
137 | depends on HAS_CAAM && IMX_HAB | 137 | depends on HAS_CAAM && IMX_HAB |
138 | help | 138 | help |
139 | This option enables the priblob command which can be used | 139 | This option enables the priblob command which can be used |
140 | to set the priblob setting to 0x3. | 140 | to set the priblob setting to 0x3. |
141 | 141 | ||
142 | config CMD_HDMIDETECT | 142 | config CMD_HDMIDETECT |
143 | bool "Support the 'hdmidet' command" | 143 | bool "Support the 'hdmidet' command" |
144 | help | 144 | help |
145 | This enables the 'hdmidet' command which detects if an HDMI monitor | 145 | This enables the 'hdmidet' command which detects if an HDMI monitor |
146 | is connected. | 146 | is connected. |
147 | 147 | ||
148 | config CMD_NANDBCB | 148 | config CMD_NANDBCB |
149 | bool "i.MX6 NAND Boot Control Block(BCB) command" | 149 | bool "i.MX6 NAND Boot Control Block(BCB) command" |
150 | depends on MTD_RAW_NAND && CMD_MTDPARTS | 150 | depends on MTD_RAW_NAND && CMD_MTDPARTS |
151 | select BCH if MX6UL || MX6ULL | 151 | select BCH if MX6UL || MX6ULL |
152 | default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS) | 152 | default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M || ARCH_IMX8) && NAND_MXS) |
153 | help | 153 | help |
154 | Unlike normal 'nand write/erase' commands, this command update | 154 | Unlike normal 'nand write/erase' commands, this command update |
155 | Boot Control Block(BCB) for i.MX6 platform NAND IP's. | 155 | Boot Control Block(BCB) for i.MX6 platform NAND IP's. |
156 | 156 | ||
157 | This is similar to kobs-ng, which is used in Linux as separate | 157 | This is similar to kobs-ng, which is used in Linux as separate |
158 | rootfs package. | 158 | rootfs package. |
159 | 159 | ||
160 | config FSL_MFGPROT | 160 | config FSL_MFGPROT |
161 | bool "Support the 'mfgprot' command" | 161 | bool "Support the 'mfgprot' command" |
162 | depends on IMX_HAB || AHAB_BOOT | 162 | depends on IMX_HAB || AHAB_BOOT |
163 | select IMX_CAAM_MFG_PROT if ARCH_MX7 | 163 | select IMX_CAAM_MFG_PROT if ARCH_MX7 |
164 | select IMX_SECO_MFG_PROT if ARCH_IMX8 | 164 | select IMX_SECO_MFG_PROT if ARCH_IMX8 |
165 | help | 165 | help |
166 | This option enables the manufacturing protection command | 166 | This option enables the manufacturing protection command |
167 | which can be used has a protection feature for Manufacturing | 167 | which can be used has a protection feature for Manufacturing |
168 | process. With this tool is possible to authenticate the | 168 | process. With this tool is possible to authenticate the |
169 | chip to the OEM's server. | 169 | chip to the OEM's server. |
170 | 170 | ||
171 | config IMX_CAAM_MFG_PROT | 171 | config IMX_CAAM_MFG_PROT |
172 | bool "Support the manufacturing protection with CAAM U-Boot driver" | 172 | bool "Support the manufacturing protection with CAAM U-Boot driver" |
173 | help | 173 | help |
174 | This enables the manufacturing protection feature with the U-Boot | 174 | This enables the manufacturing protection feature with the U-Boot |
175 | CAAM driver. This option is only available on iMX7D/S. | 175 | CAAM driver. This option is only available on iMX7D/S. |
176 | 176 | ||
177 | config IMX_SECO_MFG_PROT | 177 | config IMX_SECO_MFG_PROT |
178 | bool "Support the manufacturing protection with SECO API" | 178 | bool "Support the manufacturing protection with SECO API" |
179 | help | 179 | help |
180 | This enables the manufacturing protection feature with the SECO API. | 180 | This enables the manufacturing protection feature with the SECO API. |
181 | This option is only available on iMX8/8x series. | 181 | This option is only available on iMX8/8x series. |
182 | 182 | ||
183 | config DBG_MONITOR | 183 | config DBG_MONITOR |
184 | bool "Enable the AXI debug monitor" | 184 | bool "Enable the AXI debug monitor" |
185 | depends on ARCH_MX6 || ARCH_MX7 | 185 | depends on ARCH_MX6 || ARCH_MX7 |
186 | help | 186 | help |
187 | This option enables the debug monitor which prints out last | 187 | This option enables the debug monitor which prints out last |
188 | failed AXI access info when system reboot is caused by AXI | 188 | failed AXI access info when system reboot is caused by AXI |
189 | access failure. | 189 | access failure. |
190 | 190 | ||
191 | config NXP_BOARD_REVISION | 191 | config NXP_BOARD_REVISION |
192 | bool "Read NXP board revision from fuses" | 192 | bool "Read NXP board revision from fuses" |
193 | depends on ARCH_MX6 || ARCH_MX7 | 193 | depends on ARCH_MX6 || ARCH_MX7 |
194 | help | 194 | help |
195 | NXP boards based on i.MX6/7 contain the board revision information | 195 | NXP boards based on i.MX6/7 contain the board revision information |
196 | stored in the fuses. Select this option if you want to be able to | 196 | stored in the fuses. Select this option if you want to be able to |
197 | retrieve the board revision information. | 197 | retrieve the board revision information. |
198 | 198 | ||
199 | config FLASH_MCUFIRMWARE_SUPPORT | 199 | config FLASH_MCUFIRMWARE_SUPPORT |
200 | bool "Enable mcu firmware flash support" | 200 | bool "Enable mcu firmware flash support" |
201 | depends on ARCH_MX7ULP || ARCH_IMX8M | 201 | depends on ARCH_MX7ULP || ARCH_IMX8M |
202 | help | 202 | help |
203 | This enables the mcu firmware flash support for some SOCs. | 203 | This enables the mcu firmware flash support for some SOCs. |
204 | 204 | ||
205 | config DDRMC_VF610_CALIBRATION | 205 | config DDRMC_VF610_CALIBRATION |
206 | bool "Enable DDRMC (DDR3) on-chip calibration" | 206 | bool "Enable DDRMC (DDR3) on-chip calibration" |
207 | depends on ARCH_VF610 | 207 | depends on ARCH_VF610 |
208 | help | 208 | help |
209 | Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3 | 209 | Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3 |
210 | memory parameters. Select this option if you want to calculate them | 210 | memory parameters. Select this option if you want to calculate them |
211 | at boot time. | 211 | at boot time. |
212 | NOTE: | 212 | NOTE: |
213 | NXP does NOT recommend to perform this calibration at each boot. One | 213 | NXP does NOT recommend to perform this calibration at each boot. One |
214 | shall perform it on a new PCB and then use those values to program | 214 | shall perform it on a new PCB and then use those values to program |
215 | the ddrmc_cr_setting on relevant board file. | 215 | the ddrmc_cr_setting on relevant board file. |
216 | 216 | ||
217 | config SPL_IMX_ROMAPI_LOADADDR | 217 | config SPL_IMX_ROMAPI_LOADADDR |
218 | hex "Default load address to load image through ROM API" | 218 | hex "Default load address to load image through ROM API" |
219 | depends on IMX8MN || IMX8MP | 219 | depends on IMX8MN || IMX8MP |
220 | 220 | ||
221 | config IMX_DCD_ADDR | 221 | config IMX_DCD_ADDR |
222 | hex "DCD Blocks location on the image" | 222 | hex "DCD Blocks location on the image" |
223 | default 0x00910000 if !ARCH_MX7ULP | 223 | default 0x00910000 if !ARCH_MX7ULP |
224 | default 0x2f010000 if ARCH_MX7ULP | 224 | default 0x2f010000 if ARCH_MX7ULP |
225 | help | 225 | help |
226 | Indicates where the Device Configuration Data, a binary table used by | 226 | Indicates where the Device Configuration Data, a binary table used by |
227 | the ROM code to configure the device at early boot stage, is located. | 227 | the ROM code to configure the device at early boot stage, is located. |
228 | This information is shared with the user via mkimage -l just so the | 228 | This information is shared with the user via mkimage -l just so the |
229 | image can be signed. | 229 | image can be signed. |
230 | 230 | ||
231 | config IMX_TRUSTY_OS | 231 | config IMX_TRUSTY_OS |
232 | bool "Support Trusty OS related feature" | 232 | bool "Support Trusty OS related feature" |
233 | depends on ARCH_MX6 || ARCH_MX7 || ARCH_IMX8 || ARCH_IMX8M | 233 | depends on ARCH_MX6 || ARCH_MX7 || ARCH_IMX8 || ARCH_IMX8M |
234 | select SYS_ARM_CACHE_WRITEALLOC | 234 | select SYS_ARM_CACHE_WRITEALLOC |
235 | 235 | ||
236 | config SYS_ARM_CACHE_WRITEALLOC | 236 | config SYS_ARM_CACHE_WRITEALLOC |
237 | bool "support cache write alloc" | 237 | bool "support cache write alloc" |
238 | 238 |
-
mentioned in commit bc160f