1 /* 2 * SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "sdkconfig.h" 8 #include "esp_efuse.h" 9 #include <assert.h> 10 #include "esp_efuse_table.h" 11 12 // md5_digest_table 42c79ddff54c8f03645a832a69f60af2 13 // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY. 14 // If you want to change some fields, you need to change esp_efuse_table.csv file 15 // then run `efuse_common_table` or `efuse_custom_table` command it will generate this file. 16 // To show efuse_table run the command 'show_efuse_table'. 17 18 static const esp_efuse_desc_t WR_DIS[] = { 19 {EFUSE_BLK0, 0, 32}, // [] Disable programming of individual eFuses, 20 }; 21 22 static const esp_efuse_desc_t WR_DIS_RD_DIS[] = { 23 {EFUSE_BLK0, 0, 1}, // [] wr_dis of RD_DIS, 24 }; 25 26 static const esp_efuse_desc_t WR_DIS_DIS_ICACHE[] = { 27 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_ICACHE, 28 }; 29 30 static const esp_efuse_desc_t WR_DIS_DIS_DCACHE[] = { 31 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DCACHE, 32 }; 33 34 static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_ICACHE[] = { 35 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_ICACHE, 36 }; 37 38 static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_DCACHE[] = { 39 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_DCACHE, 40 }; 41 42 static const esp_efuse_desc_t WR_DIS_DIS_FORCE_DOWNLOAD[] = { 43 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_FORCE_DOWNLOAD, 44 }; 45 46 static const esp_efuse_desc_t WR_DIS_DIS_USB[] = { 47 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_USB, 48 }; 49 50 static const esp_efuse_desc_t WR_DIS_DIS_TWAI[] = { 51 {EFUSE_BLK0, 2, 1}, // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI, 52 }; 53 54 static const esp_efuse_desc_t WR_DIS_DIS_BOOT_REMAP[] = { 55 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_BOOT_REMAP, 56 }; 57 58 static const esp_efuse_desc_t WR_DIS_SOFT_DIS_JTAG[] = { 59 {EFUSE_BLK0, 2, 1}, // [] wr_dis of SOFT_DIS_JTAG, 60 }; 61 62 static const esp_efuse_desc_t WR_DIS_HARD_DIS_JTAG[] = { 63 {EFUSE_BLK0, 2, 1}, // [] wr_dis of HARD_DIS_JTAG, 64 }; 65 66 static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = { 67 {EFUSE_BLK0, 2, 1}, // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT, 68 }; 69 70 static const esp_efuse_desc_t WR_DIS_VDD_SPI_XPD[] = { 71 {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_XPD, 72 }; 73 74 static const esp_efuse_desc_t WR_DIS_VDD_SPI_TIEH[] = { 75 {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_TIEH, 76 }; 77 78 static const esp_efuse_desc_t WR_DIS_VDD_SPI_FORCE[] = { 79 {EFUSE_BLK0, 3, 1}, // [] wr_dis of VDD_SPI_FORCE, 80 }; 81 82 static const esp_efuse_desc_t WR_DIS_WDT_DELAY_SEL[] = { 83 {EFUSE_BLK0, 3, 1}, // [] wr_dis of WDT_DELAY_SEL, 84 }; 85 86 static const esp_efuse_desc_t WR_DIS_SPI_BOOT_CRYPT_CNT[] = { 87 {EFUSE_BLK0, 4, 1}, // [] wr_dis of SPI_BOOT_CRYPT_CNT, 88 }; 89 90 static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = { 91 {EFUSE_BLK0, 5, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE0, 92 }; 93 94 static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = { 95 {EFUSE_BLK0, 6, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE1, 96 }; 97 98 static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = { 99 {EFUSE_BLK0, 7, 1}, // [] wr_dis of SECURE_BOOT_KEY_REVOKE2, 100 }; 101 102 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_0[] = { 103 {EFUSE_BLK0, 8, 1}, // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0, 104 }; 105 106 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_1[] = { 107 {EFUSE_BLK0, 9, 1}, // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1, 108 }; 109 110 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_2[] = { 111 {EFUSE_BLK0, 10, 1}, // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2, 112 }; 113 114 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_3[] = { 115 {EFUSE_BLK0, 11, 1}, // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3, 116 }; 117 118 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_4[] = { 119 {EFUSE_BLK0, 12, 1}, // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4, 120 }; 121 122 static const esp_efuse_desc_t WR_DIS_KEY_PURPOSE_5[] = { 123 {EFUSE_BLK0, 13, 1}, // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5, 124 }; 125 126 static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_EN[] = { 127 {EFUSE_BLK0, 15, 1}, // [] wr_dis of SECURE_BOOT_EN, 128 }; 129 130 static const esp_efuse_desc_t WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = { 131 {EFUSE_BLK0, 16, 1}, // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE, 132 }; 133 134 static const esp_efuse_desc_t WR_DIS_FLASH_TPUW[] = { 135 {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_TPUW, 136 }; 137 138 static const esp_efuse_desc_t WR_DIS_DIS_DOWNLOAD_MODE[] = { 139 {EFUSE_BLK0, 18, 1}, // [] wr_dis of DIS_DOWNLOAD_MODE, 140 }; 141 142 static const esp_efuse_desc_t WR_DIS_DIS_LEGACY_SPI_BOOT[] = { 143 {EFUSE_BLK0, 18, 1}, // [] wr_dis of DIS_LEGACY_SPI_BOOT, 144 }; 145 146 static const esp_efuse_desc_t WR_DIS_UART_PRINT_CHANNEL[] = { 147 {EFUSE_BLK0, 18, 1}, // [] wr_dis of UART_PRINT_CHANNEL, 148 }; 149 150 static const esp_efuse_desc_t WR_DIS_DIS_USB_DOWNLOAD_MODE[] = { 151 {EFUSE_BLK0, 18, 1}, // [] wr_dis of DIS_USB_DOWNLOAD_MODE, 152 }; 153 154 static const esp_efuse_desc_t WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = { 155 {EFUSE_BLK0, 18, 1}, // [] wr_dis of ENABLE_SECURITY_DOWNLOAD, 156 }; 157 158 static const esp_efuse_desc_t WR_DIS_UART_PRINT_CONTROL[] = { 159 {EFUSE_BLK0, 18, 1}, // [] wr_dis of UART_PRINT_CONTROL, 160 }; 161 162 static const esp_efuse_desc_t WR_DIS_PIN_POWER_SELECTION[] = { 163 {EFUSE_BLK0, 18, 1}, // [] wr_dis of PIN_POWER_SELECTION, 164 }; 165 166 static const esp_efuse_desc_t WR_DIS_FLASH_TYPE[] = { 167 {EFUSE_BLK0, 18, 1}, // [] wr_dis of FLASH_TYPE, 168 }; 169 170 static const esp_efuse_desc_t WR_DIS_FORCE_SEND_RESUME[] = { 171 {EFUSE_BLK0, 18, 1}, // [] wr_dis of FORCE_SEND_RESUME, 172 }; 173 174 static const esp_efuse_desc_t WR_DIS_SECURE_VERSION[] = { 175 {EFUSE_BLK0, 18, 1}, // [] wr_dis of SECURE_VERSION, 176 }; 177 178 static const esp_efuse_desc_t WR_DIS_BLK1[] = { 179 {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLOCK1, 180 }; 181 182 static const esp_efuse_desc_t WR_DIS_MAC[] = { 183 {EFUSE_BLK0, 20, 1}, // [WR_DIS.MAC_FACTORY] wr_dis of MAC, 184 }; 185 186 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CLK[] = { 187 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CLK, 188 }; 189 190 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_Q[] = { 191 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_Q, 192 }; 193 194 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D[] = { 195 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D, 196 }; 197 198 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_CS[] = { 199 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_CS, 200 }; 201 202 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_HD[] = { 203 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_HD, 204 }; 205 206 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_WP[] = { 207 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_WP, 208 }; 209 210 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_DQS[] = { 211 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_DQS, 212 }; 213 214 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D4[] = { 215 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D4, 216 }; 217 218 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D5[] = { 219 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D5, 220 }; 221 222 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D6[] = { 223 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D6, 224 }; 225 226 static const esp_efuse_desc_t WR_DIS_SPI_PAD_CONFIG_D7[] = { 227 {EFUSE_BLK0, 20, 1}, // [] wr_dis of SPI_PAD_CONFIG_D7, 228 }; 229 230 static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MAJOR[] = { 231 {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MAJOR, 232 }; 233 234 static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_HI[] = { 235 {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_HI, 236 }; 237 238 static const esp_efuse_desc_t WR_DIS_FLASH_VERSION[] = { 239 {EFUSE_BLK0, 20, 1}, // [] wr_dis of FLASH_VERSION, 240 }; 241 242 static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MAJOR[] = { 243 {EFUSE_BLK0, 20, 1}, // [] wr_dis of BLK_VERSION_MAJOR, 244 }; 245 246 static const esp_efuse_desc_t WR_DIS_PSRAM_VERSION[] = { 247 {EFUSE_BLK0, 20, 1}, // [] wr_dis of PSRAM_VERSION, 248 }; 249 250 static const esp_efuse_desc_t WR_DIS_PKG_VERSION[] = { 251 {EFUSE_BLK0, 20, 1}, // [] wr_dis of PKG_VERSION, 252 }; 253 254 static const esp_efuse_desc_t WR_DIS_WAFER_VERSION_MINOR_LO[] = { 255 {EFUSE_BLK0, 20, 1}, // [] wr_dis of WAFER_VERSION_MINOR_LO, 256 }; 257 258 static const esp_efuse_desc_t WR_DIS_SYS_DATA_PART1[] = { 259 {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLOCK2, 260 }; 261 262 static const esp_efuse_desc_t WR_DIS_OPTIONAL_UNIQUE_ID[] = { 263 {EFUSE_BLK0, 21, 1}, // [] wr_dis of OPTIONAL_UNIQUE_ID, 264 }; 265 266 static const esp_efuse_desc_t WR_DIS_ADC_CALIB[] = { 267 {EFUSE_BLK0, 21, 1}, // [] wr_dis of ADC_CALIB, 268 }; 269 270 static const esp_efuse_desc_t WR_DIS_BLK_VERSION_MINOR[] = { 271 {EFUSE_BLK0, 21, 1}, // [] wr_dis of BLK_VERSION_MINOR, 272 }; 273 274 static const esp_efuse_desc_t WR_DIS_TEMP_CALIB[] = { 275 {EFUSE_BLK0, 21, 1}, // [] wr_dis of TEMP_CALIB, 276 }; 277 278 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A10H[] = { 279 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A10H, 280 }; 281 282 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A11H[] = { 283 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A11H, 284 }; 285 286 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A12H[] = { 287 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A12H, 288 }; 289 290 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A13H[] = { 291 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A13H, 292 }; 293 294 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A20H[] = { 295 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A20H, 296 }; 297 298 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A21H[] = { 299 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A21H, 300 }; 301 302 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A22H[] = { 303 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A22H, 304 }; 305 306 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A23H[] = { 307 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A23H, 308 }; 309 310 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A10L[] = { 311 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A10L, 312 }; 313 314 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A11L[] = { 315 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A11L, 316 }; 317 318 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A12L[] = { 319 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A12L, 320 }; 321 322 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A13L[] = { 323 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A13L, 324 }; 325 326 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A20L[] = { 327 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A20L, 328 }; 329 330 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A21L[] = { 331 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A21L, 332 }; 333 334 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A22L[] = { 335 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A22L, 336 }; 337 338 static const esp_efuse_desc_t WR_DIS_RTCCALIB_V1IDX_A23L[] = { 339 {EFUSE_BLK0, 21, 1}, // [] wr_dis of RTCCALIB_V1IDX_A23L, 340 }; 341 342 static const esp_efuse_desc_t WR_DIS_BLOCK_USR_DATA[] = { 343 {EFUSE_BLK0, 22, 1}, // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA, 344 }; 345 346 static const esp_efuse_desc_t WR_DIS_CUSTOM_MAC[] = { 347 {EFUSE_BLK0, 22, 1}, // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC, 348 }; 349 350 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY0[] = { 351 {EFUSE_BLK0, 23, 1}, // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0, 352 }; 353 354 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY1[] = { 355 {EFUSE_BLK0, 24, 1}, // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1, 356 }; 357 358 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY2[] = { 359 {EFUSE_BLK0, 25, 1}, // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2, 360 }; 361 362 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY3[] = { 363 {EFUSE_BLK0, 26, 1}, // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3, 364 }; 365 366 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY4[] = { 367 {EFUSE_BLK0, 27, 1}, // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4, 368 }; 369 370 static const esp_efuse_desc_t WR_DIS_BLOCK_KEY5[] = { 371 {EFUSE_BLK0, 28, 1}, // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5, 372 }; 373 374 static const esp_efuse_desc_t WR_DIS_BLOCK_SYS_DATA2[] = { 375 {EFUSE_BLK0, 29, 1}, // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2, 376 }; 377 378 static const esp_efuse_desc_t WR_DIS_USB_EXCHG_PINS[] = { 379 {EFUSE_BLK0, 30, 1}, // [] wr_dis of USB_EXCHG_PINS, 380 }; 381 382 static const esp_efuse_desc_t WR_DIS_USB_EXT_PHY_ENABLE[] = { 383 {EFUSE_BLK0, 30, 1}, // [WR_DIS.EXT_PHY_ENABLE] wr_dis of USB_EXT_PHY_ENABLE, 384 }; 385 386 static const esp_efuse_desc_t WR_DIS_USB_FORCE_NOPERSIST[] = { 387 {EFUSE_BLK0, 30, 1}, // [] wr_dis of USB_FORCE_NOPERSIST, 388 }; 389 390 static const esp_efuse_desc_t WR_DIS_BLOCK0_VERSION[] = { 391 {EFUSE_BLK0, 30, 1}, // [] wr_dis of BLOCK0_VERSION, 392 }; 393 394 static const esp_efuse_desc_t RD_DIS[] = { 395 {EFUSE_BLK0, 32, 7}, // [] Disable reading from BlOCK4-10, 396 }; 397 398 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY0[] = { 399 {EFUSE_BLK0, 32, 1}, // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0, 400 }; 401 402 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY1[] = { 403 {EFUSE_BLK0, 33, 1}, // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1, 404 }; 405 406 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY2[] = { 407 {EFUSE_BLK0, 34, 1}, // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2, 408 }; 409 410 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY3[] = { 411 {EFUSE_BLK0, 35, 1}, // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3, 412 }; 413 414 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY4[] = { 415 {EFUSE_BLK0, 36, 1}, // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4, 416 }; 417 418 static const esp_efuse_desc_t RD_DIS_BLOCK_KEY5[] = { 419 {EFUSE_BLK0, 37, 1}, // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5, 420 }; 421 422 static const esp_efuse_desc_t RD_DIS_BLOCK_SYS_DATA2[] = { 423 {EFUSE_BLK0, 38, 1}, // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2, 424 }; 425 426 static const esp_efuse_desc_t DIS_ICACHE[] = { 427 {EFUSE_BLK0, 40, 1}, // [] Set this bit to disable Icache, 428 }; 429 430 static const esp_efuse_desc_t DIS_DCACHE[] = { 431 {EFUSE_BLK0, 41, 1}, // [] Set this bit to disable Dcache, 432 }; 433 434 static const esp_efuse_desc_t DIS_DOWNLOAD_ICACHE[] = { 435 {EFUSE_BLK0, 42, 1}, // [] Disables Icache when SoC is in Download mode, 436 }; 437 438 static const esp_efuse_desc_t DIS_DOWNLOAD_DCACHE[] = { 439 {EFUSE_BLK0, 43, 1}, // [] Disables Dcache when SoC is in Download mode, 440 }; 441 442 static const esp_efuse_desc_t DIS_FORCE_DOWNLOAD[] = { 443 {EFUSE_BLK0, 44, 1}, // [] Set this bit to disable the function that forces chip into download mode, 444 }; 445 446 static const esp_efuse_desc_t DIS_USB[] = { 447 {EFUSE_BLK0, 45, 1}, // [] Set this bit to disable USB OTG function, 448 }; 449 450 static const esp_efuse_desc_t DIS_TWAI[] = { 451 {EFUSE_BLK0, 46, 1}, // [DIS_CAN] Set this bit to disable the TWAI Controller function, 452 }; 453 454 static const esp_efuse_desc_t DIS_BOOT_REMAP[] = { 455 {EFUSE_BLK0, 47, 1}, // [] Disables capability to Remap RAM to ROM address space, 456 }; 457 458 static const esp_efuse_desc_t SOFT_DIS_JTAG[] = { 459 {EFUSE_BLK0, 49, 1}, // [] Software disables JTAG. When software disabled; JTAG can be activated temporarily by HMAC peripheral, 460 }; 461 462 static const esp_efuse_desc_t HARD_DIS_JTAG[] = { 463 {EFUSE_BLK0, 50, 1}, // [] Hardware disables JTAG permanently, 464 }; 465 466 static const esp_efuse_desc_t DIS_DOWNLOAD_MANUAL_ENCRYPT[] = { 467 {EFUSE_BLK0, 51, 1}, // [] Disables flash encryption when in download boot modes, 468 }; 469 470 static const esp_efuse_desc_t USB_EXCHG_PINS[] = { 471 {EFUSE_BLK0, 56, 1}, // [] Set this bit to exchange USB D+ and D- pins, 472 }; 473 474 static const esp_efuse_desc_t USB_EXT_PHY_ENABLE[] = { 475 {EFUSE_BLK0, 57, 1}, // [EXT_PHY_ENABLE] Set this bit to enable external USB PHY, 476 }; 477 478 static const esp_efuse_desc_t USB_FORCE_NOPERSIST[] = { 479 {EFUSE_BLK0, 58, 1}, // [] If set; forces USB BVALID to 1, 480 }; 481 482 static const esp_efuse_desc_t BLOCK0_VERSION[] = { 483 {EFUSE_BLK0, 59, 2}, // [] BLOCK0 efuse version, 484 }; 485 486 static const esp_efuse_desc_t VDD_SPI_XPD[] = { 487 {EFUSE_BLK0, 68, 1}, // [] If VDD_SPI_FORCE is 1; this value determines if the VDD_SPI regulator is powered on, 488 }; 489 490 static const esp_efuse_desc_t VDD_SPI_TIEH[] = { 491 {EFUSE_BLK0, 69, 1}, // [] If VDD_SPI_FORCE is 1; determines VDD_SPI voltage {0: "VDD_SPI connects to 1.8 V LDO"; 1: "VDD_SPI connects to VDD3P3_RTC_IO"}, 492 }; 493 494 static const esp_efuse_desc_t VDD_SPI_FORCE[] = { 495 {EFUSE_BLK0, 70, 1}, // [] Set this bit to use XPD_VDD_PSI_REG and VDD_SPI_TIEH to configure VDD_SPI LDO, 496 }; 497 498 static const esp_efuse_desc_t WDT_DELAY_SEL[] = { 499 {EFUSE_BLK0, 80, 2}, // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"}, 500 }; 501 502 static const esp_efuse_desc_t SPI_BOOT_CRYPT_CNT[] = { 503 {EFUSE_BLK0, 82, 3}, // [] Enables flash encryption when 1 or 3 bits are set and disabled otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"}, 504 }; 505 506 static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE0[] = { 507 {EFUSE_BLK0, 85, 1}, // [] Revoke 1st secure boot key, 508 }; 509 510 static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE1[] = { 511 {EFUSE_BLK0, 86, 1}, // [] Revoke 2nd secure boot key, 512 }; 513 514 static const esp_efuse_desc_t SECURE_BOOT_KEY_REVOKE2[] = { 515 {EFUSE_BLK0, 87, 1}, // [] Revoke 3rd secure boot key, 516 }; 517 518 static const esp_efuse_desc_t KEY_PURPOSE_0[] = { 519 {EFUSE_BLK0, 88, 4}, // [KEY0_PURPOSE] Purpose of KEY0, 520 }; 521 522 static const esp_efuse_desc_t KEY_PURPOSE_1[] = { 523 {EFUSE_BLK0, 92, 4}, // [KEY1_PURPOSE] Purpose of KEY1, 524 }; 525 526 static const esp_efuse_desc_t KEY_PURPOSE_2[] = { 527 {EFUSE_BLK0, 96, 4}, // [KEY2_PURPOSE] Purpose of KEY2, 528 }; 529 530 static const esp_efuse_desc_t KEY_PURPOSE_3[] = { 531 {EFUSE_BLK0, 100, 4}, // [KEY3_PURPOSE] Purpose of KEY3, 532 }; 533 534 static const esp_efuse_desc_t KEY_PURPOSE_4[] = { 535 {EFUSE_BLK0, 104, 4}, // [KEY4_PURPOSE] Purpose of KEY4, 536 }; 537 538 static const esp_efuse_desc_t KEY_PURPOSE_5[] = { 539 {EFUSE_BLK0, 108, 4}, // [KEY5_PURPOSE] Purpose of KEY5, 540 }; 541 542 static const esp_efuse_desc_t SECURE_BOOT_EN[] = { 543 {EFUSE_BLK0, 116, 1}, // [] Set this bit to enable secure boot, 544 }; 545 546 static const esp_efuse_desc_t SECURE_BOOT_AGGRESSIVE_REVOKE[] = { 547 {EFUSE_BLK0, 117, 1}, // [] Set this bit to enable aggressive secure boot key revocation mode, 548 }; 549 550 static const esp_efuse_desc_t FLASH_TPUW[] = { 551 {EFUSE_BLK0, 124, 4}, // [] Configures flash startup delay after SoC power-up; in unit of (ms/2). When the value is 15; delay is 7.5 ms, 552 }; 553 554 static const esp_efuse_desc_t DIS_DOWNLOAD_MODE[] = { 555 {EFUSE_BLK0, 128, 1}, // [] Set this bit to disable all download boot modes, 556 }; 557 558 static const esp_efuse_desc_t DIS_LEGACY_SPI_BOOT[] = { 559 {EFUSE_BLK0, 129, 1}, // [] Set this bit to disable Legacy SPI boot mode, 560 }; 561 562 static const esp_efuse_desc_t UART_PRINT_CHANNEL[] = { 563 {EFUSE_BLK0, 130, 1}, // [] Selects the default UART for printing boot messages {0: "UART0"; 1: "UART1"}, 564 }; 565 566 static const esp_efuse_desc_t DIS_USB_DOWNLOAD_MODE[] = { 567 {EFUSE_BLK0, 132, 1}, // [] Set this bit to disable use of USB OTG in UART download boot mode, 568 }; 569 570 static const esp_efuse_desc_t ENABLE_SECURITY_DOWNLOAD[] = { 571 {EFUSE_BLK0, 133, 1}, // [] Set this bit to enable secure UART download mode (read/write flash only), 572 }; 573 574 static const esp_efuse_desc_t UART_PRINT_CONTROL[] = { 575 {EFUSE_BLK0, 134, 2}, // [] Set the default UART boot message output mode {0: "Enable"; 1: "Enable when GPIO46 is low at reset"; 2: "Enable when GPIO46 is high at reset"; 3: "Disable"}, 576 }; 577 578 static const esp_efuse_desc_t PIN_POWER_SELECTION[] = { 579 {EFUSE_BLK0, 136, 1}, // [] Set default power supply for GPIO33-GPIO37; set when SPI flash is initialized {0: "VDD3P3_CPU"; 1: "VDD_SPI"}, 580 }; 581 582 static const esp_efuse_desc_t FLASH_TYPE[] = { 583 {EFUSE_BLK0, 137, 1}, // [] SPI flash type {0: "4 data lines"; 1: "8 data lines"}, 584 }; 585 586 static const esp_efuse_desc_t FORCE_SEND_RESUME[] = { 587 {EFUSE_BLK0, 138, 1}, // [] If set; forces ROM code to send an SPI flash resume command during SPI boot, 588 }; 589 590 static const esp_efuse_desc_t SECURE_VERSION[] = { 591 {EFUSE_BLK0, 139, 16}, // [] Secure version (used by ESP-IDF anti-rollback feature), 592 }; 593 594 static const esp_efuse_desc_t DISABLE_WAFER_VERSION_MAJOR[] = { 595 {EFUSE_BLK0, 160, 1}, // [] Disables check of wafer version major, 596 }; 597 598 static const esp_efuse_desc_t DISABLE_BLK_VERSION_MAJOR[] = { 599 {EFUSE_BLK0, 161, 1}, // [] Disables check of blk version major, 600 }; 601 602 static const esp_efuse_desc_t MAC[] = { 603 {EFUSE_BLK1, 40, 8}, // [MAC_FACTORY] MAC address, 604 {EFUSE_BLK1, 32, 8}, // [MAC_FACTORY] MAC address, 605 {EFUSE_BLK1, 24, 8}, // [MAC_FACTORY] MAC address, 606 {EFUSE_BLK1, 16, 8}, // [MAC_FACTORY] MAC address, 607 {EFUSE_BLK1, 8, 8}, // [MAC_FACTORY] MAC address, 608 {EFUSE_BLK1, 0, 8}, // [MAC_FACTORY] MAC address, 609 }; 610 611 static const esp_efuse_desc_t SPI_PAD_CONFIG_CLK[] = { 612 {EFUSE_BLK1, 48, 6}, // [] SPI_PAD_configure CLK, 613 }; 614 615 static const esp_efuse_desc_t SPI_PAD_CONFIG_Q[] = { 616 {EFUSE_BLK1, 54, 6}, // [] SPI_PAD_configure Q(D1), 617 }; 618 619 static const esp_efuse_desc_t SPI_PAD_CONFIG_D[] = { 620 {EFUSE_BLK1, 60, 6}, // [] SPI_PAD_configure D(D0), 621 }; 622 623 static const esp_efuse_desc_t SPI_PAD_CONFIG_CS[] = { 624 {EFUSE_BLK1, 66, 6}, // [] SPI_PAD_configure CS, 625 }; 626 627 static const esp_efuse_desc_t SPI_PAD_CONFIG_HD[] = { 628 {EFUSE_BLK1, 72, 6}, // [] SPI_PAD_configure HD(D3), 629 }; 630 631 static const esp_efuse_desc_t SPI_PAD_CONFIG_WP[] = { 632 {EFUSE_BLK1, 78, 6}, // [] SPI_PAD_configure WP(D2), 633 }; 634 635 static const esp_efuse_desc_t SPI_PAD_CONFIG_DQS[] = { 636 {EFUSE_BLK1, 84, 6}, // [] SPI_PAD_configure DQS, 637 }; 638 639 static const esp_efuse_desc_t SPI_PAD_CONFIG_D4[] = { 640 {EFUSE_BLK1, 90, 6}, // [] SPI_PAD_configure D4, 641 }; 642 643 static const esp_efuse_desc_t SPI_PAD_CONFIG_D5[] = { 644 {EFUSE_BLK1, 96, 6}, // [] SPI_PAD_configure D5, 645 }; 646 647 static const esp_efuse_desc_t SPI_PAD_CONFIG_D6[] = { 648 {EFUSE_BLK1, 102, 6}, // [] SPI_PAD_configure D6, 649 }; 650 651 static const esp_efuse_desc_t SPI_PAD_CONFIG_D7[] = { 652 {EFUSE_BLK1, 108, 6}, // [] SPI_PAD_configure D7, 653 }; 654 655 static const esp_efuse_desc_t WAFER_VERSION_MAJOR[] = { 656 {EFUSE_BLK1, 114, 2}, // [] WAFER_VERSION_MAJOR, 657 }; 658 659 static const esp_efuse_desc_t WAFER_VERSION_MINOR_HI[] = { 660 {EFUSE_BLK1, 116, 1}, // [] WAFER_VERSION_MINOR most significant bit, 661 }; 662 663 static const esp_efuse_desc_t FLASH_VERSION[] = { 664 {EFUSE_BLK1, 117, 4}, // [] Flash version, 665 }; 666 667 static const esp_efuse_desc_t BLK_VERSION_MAJOR[] = { 668 {EFUSE_BLK1, 121, 2}, // [] BLK_VERSION_MAJOR, 669 }; 670 671 static const esp_efuse_desc_t PSRAM_VERSION[] = { 672 {EFUSE_BLK1, 124, 4}, // [] PSRAM version, 673 }; 674 675 static const esp_efuse_desc_t PKG_VERSION[] = { 676 {EFUSE_BLK1, 128, 4}, // [] Package version, 677 }; 678 679 static const esp_efuse_desc_t WAFER_VERSION_MINOR_LO[] = { 680 {EFUSE_BLK1, 132, 3}, // [] WAFER_VERSION_MINOR least significant bits, 681 }; 682 683 static const esp_efuse_desc_t OPTIONAL_UNIQUE_ID[] = { 684 {EFUSE_BLK2, 0, 128}, // [] Optional unique 128-bit ID, 685 }; 686 687 static const esp_efuse_desc_t ADC_CALIB[] = { 688 {EFUSE_BLK2, 128, 4}, // [] 4 bit of ADC calibration, 689 }; 690 691 static const esp_efuse_desc_t BLK_VERSION_MINOR[] = { 692 {EFUSE_BLK2, 132, 3}, // [] BLK_VERSION_MINOR of BLOCK2 {0: "No calib"; 1: "ADC calib V1"; 2: "ADC calib V2"}, 693 }; 694 695 static const esp_efuse_desc_t TEMP_CALIB[] = { 696 {EFUSE_BLK2, 135, 9}, // [] Temperature calibration data, 697 }; 698 699 static const esp_efuse_desc_t RTCCALIB_V1IDX_A10H[] = { 700 {EFUSE_BLK2, 144, 8}, // [], 701 }; 702 703 static const esp_efuse_desc_t RTCCALIB_V1IDX_A11H[] = { 704 {EFUSE_BLK2, 152, 8}, // [], 705 }; 706 707 static const esp_efuse_desc_t RTCCALIB_V1IDX_A12H[] = { 708 {EFUSE_BLK2, 160, 8}, // [], 709 }; 710 711 static const esp_efuse_desc_t RTCCALIB_V1IDX_A13H[] = { 712 {EFUSE_BLK2, 168, 8}, // [], 713 }; 714 715 static const esp_efuse_desc_t RTCCALIB_V1IDX_A20H[] = { 716 {EFUSE_BLK2, 176, 8}, // [], 717 }; 718 719 static const esp_efuse_desc_t RTCCALIB_V1IDX_A21H[] = { 720 {EFUSE_BLK2, 184, 8}, // [], 721 }; 722 723 static const esp_efuse_desc_t RTCCALIB_V1IDX_A22H[] = { 724 {EFUSE_BLK2, 192, 8}, // [], 725 }; 726 727 static const esp_efuse_desc_t RTCCALIB_V1IDX_A23H[] = { 728 {EFUSE_BLK2, 200, 8}, // [], 729 }; 730 731 static const esp_efuse_desc_t RTCCALIB_V1IDX_A10L[] = { 732 {EFUSE_BLK2, 208, 6}, // [], 733 }; 734 735 static const esp_efuse_desc_t RTCCALIB_V1IDX_A11L[] = { 736 {EFUSE_BLK2, 214, 6}, // [], 737 }; 738 739 static const esp_efuse_desc_t RTCCALIB_V1IDX_A12L[] = { 740 {EFUSE_BLK2, 220, 6}, // [], 741 }; 742 743 static const esp_efuse_desc_t RTCCALIB_V1IDX_A13L[] = { 744 {EFUSE_BLK2, 226, 6}, // [], 745 }; 746 747 static const esp_efuse_desc_t RTCCALIB_V1IDX_A20L[] = { 748 {EFUSE_BLK2, 232, 6}, // [], 749 }; 750 751 static const esp_efuse_desc_t RTCCALIB_V1IDX_A21L[] = { 752 {EFUSE_BLK2, 238, 6}, // [], 753 }; 754 755 static const esp_efuse_desc_t RTCCALIB_V1IDX_A22L[] = { 756 {EFUSE_BLK2, 244, 6}, // [], 757 }; 758 759 static const esp_efuse_desc_t RTCCALIB_V1IDX_A23L[] = { 760 {EFUSE_BLK2, 250, 6}, // [], 761 }; 762 763 static const esp_efuse_desc_t USER_DATA[] = { 764 {EFUSE_BLK3, 0, 256}, // [BLOCK_USR_DATA] User data, 765 }; 766 767 static const esp_efuse_desc_t USER_DATA_MAC_CUSTOM[] = { 768 {EFUSE_BLK3, 200, 48}, // [MAC_CUSTOM CUSTOM_MAC] Custom MAC, 769 }; 770 771 static const esp_efuse_desc_t KEY0[] = { 772 {EFUSE_BLK4, 0, 256}, // [BLOCK_KEY0] Key0 or user data, 773 }; 774 775 static const esp_efuse_desc_t KEY1[] = { 776 {EFUSE_BLK5, 0, 256}, // [BLOCK_KEY1] Key1 or user data, 777 }; 778 779 static const esp_efuse_desc_t KEY2[] = { 780 {EFUSE_BLK6, 0, 256}, // [BLOCK_KEY2] Key2 or user data, 781 }; 782 783 static const esp_efuse_desc_t KEY3[] = { 784 {EFUSE_BLK7, 0, 256}, // [BLOCK_KEY3] Key3 or user data, 785 }; 786 787 static const esp_efuse_desc_t KEY4[] = { 788 {EFUSE_BLK8, 0, 256}, // [BLOCK_KEY4] Key4 or user data, 789 }; 790 791 static const esp_efuse_desc_t KEY5[] = { 792 {EFUSE_BLK9, 0, 256}, // [BLOCK_KEY5] Key5 or user data, 793 }; 794 795 static const esp_efuse_desc_t SYS_DATA_PART2[] = { 796 {EFUSE_BLK10, 0, 256}, // [BLOCK_SYS_DATA2] System data part 2 (reserved), 797 }; 798 799 800 801 802 803 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS[] = { 804 &WR_DIS[0], // [] Disable programming of individual eFuses 805 NULL 806 }; 807 808 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RD_DIS[] = { 809 &WR_DIS_RD_DIS[0], // [] wr_dis of RD_DIS 810 NULL 811 }; 812 813 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_ICACHE[] = { 814 &WR_DIS_DIS_ICACHE[0], // [] wr_dis of DIS_ICACHE 815 NULL 816 }; 817 818 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DCACHE[] = { 819 &WR_DIS_DIS_DCACHE[0], // [] wr_dis of DIS_DCACHE 820 NULL 821 }; 822 823 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_ICACHE[] = { 824 &WR_DIS_DIS_DOWNLOAD_ICACHE[0], // [] wr_dis of DIS_DOWNLOAD_ICACHE 825 NULL 826 }; 827 828 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_DCACHE[] = { 829 &WR_DIS_DIS_DOWNLOAD_DCACHE[0], // [] wr_dis of DIS_DOWNLOAD_DCACHE 830 NULL 831 }; 832 833 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_FORCE_DOWNLOAD[] = { 834 &WR_DIS_DIS_FORCE_DOWNLOAD[0], // [] wr_dis of DIS_FORCE_DOWNLOAD 835 NULL 836 }; 837 838 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB[] = { 839 &WR_DIS_DIS_USB[0], // [] wr_dis of DIS_USB 840 NULL 841 }; 842 843 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_TWAI[] = { 844 &WR_DIS_DIS_TWAI[0], // [WR_DIS.DIS_CAN] wr_dis of DIS_TWAI 845 NULL 846 }; 847 848 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_BOOT_REMAP[] = { 849 &WR_DIS_DIS_BOOT_REMAP[0], // [] wr_dis of DIS_BOOT_REMAP 850 NULL 851 }; 852 853 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SOFT_DIS_JTAG[] = { 854 &WR_DIS_SOFT_DIS_JTAG[0], // [] wr_dis of SOFT_DIS_JTAG 855 NULL 856 }; 857 858 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_HARD_DIS_JTAG[] = { 859 &WR_DIS_HARD_DIS_JTAG[0], // [] wr_dis of HARD_DIS_JTAG 860 NULL 861 }; 862 863 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = { 864 &WR_DIS_DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] wr_dis of DIS_DOWNLOAD_MANUAL_ENCRYPT 865 NULL 866 }; 867 868 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_XPD[] = { 869 &WR_DIS_VDD_SPI_XPD[0], // [] wr_dis of VDD_SPI_XPD 870 NULL 871 }; 872 873 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_TIEH[] = { 874 &WR_DIS_VDD_SPI_TIEH[0], // [] wr_dis of VDD_SPI_TIEH 875 NULL 876 }; 877 878 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_VDD_SPI_FORCE[] = { 879 &WR_DIS_VDD_SPI_FORCE[0], // [] wr_dis of VDD_SPI_FORCE 880 NULL 881 }; 882 883 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WDT_DELAY_SEL[] = { 884 &WR_DIS_WDT_DELAY_SEL[0], // [] wr_dis of WDT_DELAY_SEL 885 NULL 886 }; 887 888 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_BOOT_CRYPT_CNT[] = { 889 &WR_DIS_SPI_BOOT_CRYPT_CNT[0], // [] wr_dis of SPI_BOOT_CRYPT_CNT 890 NULL 891 }; 892 893 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE0[] = { 894 &WR_DIS_SECURE_BOOT_KEY_REVOKE0[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE0 895 NULL 896 }; 897 898 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE1[] = { 899 &WR_DIS_SECURE_BOOT_KEY_REVOKE1[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE1 900 NULL 901 }; 902 903 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE2[] = { 904 &WR_DIS_SECURE_BOOT_KEY_REVOKE2[0], // [] wr_dis of SECURE_BOOT_KEY_REVOKE2 905 NULL 906 }; 907 908 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_0[] = { 909 &WR_DIS_KEY_PURPOSE_0[0], // [WR_DIS.KEY0_PURPOSE] wr_dis of KEY_PURPOSE_0 910 NULL 911 }; 912 913 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_1[] = { 914 &WR_DIS_KEY_PURPOSE_1[0], // [WR_DIS.KEY1_PURPOSE] wr_dis of KEY_PURPOSE_1 915 NULL 916 }; 917 918 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_2[] = { 919 &WR_DIS_KEY_PURPOSE_2[0], // [WR_DIS.KEY2_PURPOSE] wr_dis of KEY_PURPOSE_2 920 NULL 921 }; 922 923 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_3[] = { 924 &WR_DIS_KEY_PURPOSE_3[0], // [WR_DIS.KEY3_PURPOSE] wr_dis of KEY_PURPOSE_3 925 NULL 926 }; 927 928 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_4[] = { 929 &WR_DIS_KEY_PURPOSE_4[0], // [WR_DIS.KEY4_PURPOSE] wr_dis of KEY_PURPOSE_4 930 NULL 931 }; 932 933 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_KEY_PURPOSE_5[] = { 934 &WR_DIS_KEY_PURPOSE_5[0], // [WR_DIS.KEY5_PURPOSE] wr_dis of KEY_PURPOSE_5 935 NULL 936 }; 937 938 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_EN[] = { 939 &WR_DIS_SECURE_BOOT_EN[0], // [] wr_dis of SECURE_BOOT_EN 940 NULL 941 }; 942 943 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[] = { 944 &WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] wr_dis of SECURE_BOOT_AGGRESSIVE_REVOKE 945 NULL 946 }; 947 948 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TPUW[] = { 949 &WR_DIS_FLASH_TPUW[0], // [] wr_dis of FLASH_TPUW 950 NULL 951 }; 952 953 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_DOWNLOAD_MODE[] = { 954 &WR_DIS_DIS_DOWNLOAD_MODE[0], // [] wr_dis of DIS_DOWNLOAD_MODE 955 NULL 956 }; 957 958 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_LEGACY_SPI_BOOT[] = { 959 &WR_DIS_DIS_LEGACY_SPI_BOOT[0], // [] wr_dis of DIS_LEGACY_SPI_BOOT 960 NULL 961 }; 962 963 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_UART_PRINT_CHANNEL[] = { 964 &WR_DIS_UART_PRINT_CHANNEL[0], // [] wr_dis of UART_PRINT_CHANNEL 965 NULL 966 }; 967 968 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_DIS_USB_DOWNLOAD_MODE[] = { 969 &WR_DIS_DIS_USB_DOWNLOAD_MODE[0], // [] wr_dis of DIS_USB_DOWNLOAD_MODE 970 NULL 971 }; 972 973 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ENABLE_SECURITY_DOWNLOAD[] = { 974 &WR_DIS_ENABLE_SECURITY_DOWNLOAD[0], // [] wr_dis of ENABLE_SECURITY_DOWNLOAD 975 NULL 976 }; 977 978 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_UART_PRINT_CONTROL[] = { 979 &WR_DIS_UART_PRINT_CONTROL[0], // [] wr_dis of UART_PRINT_CONTROL 980 NULL 981 }; 982 983 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PIN_POWER_SELECTION[] = { 984 &WR_DIS_PIN_POWER_SELECTION[0], // [] wr_dis of PIN_POWER_SELECTION 985 NULL 986 }; 987 988 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_TYPE[] = { 989 &WR_DIS_FLASH_TYPE[0], // [] wr_dis of FLASH_TYPE 990 NULL 991 }; 992 993 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FORCE_SEND_RESUME[] = { 994 &WR_DIS_FORCE_SEND_RESUME[0], // [] wr_dis of FORCE_SEND_RESUME 995 NULL 996 }; 997 998 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SECURE_VERSION[] = { 999 &WR_DIS_SECURE_VERSION[0], // [] wr_dis of SECURE_VERSION 1000 NULL 1001 }; 1002 1003 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK1[] = { 1004 &WR_DIS_BLK1[0], // [] wr_dis of BLOCK1 1005 NULL 1006 }; 1007 1008 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_MAC[] = { 1009 &WR_DIS_MAC[0], // [WR_DIS.MAC_FACTORY] wr_dis of MAC 1010 NULL 1011 }; 1012 1013 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CLK[] = { 1014 &WR_DIS_SPI_PAD_CONFIG_CLK[0], // [] wr_dis of SPI_PAD_CONFIG_CLK 1015 NULL 1016 }; 1017 1018 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_Q[] = { 1019 &WR_DIS_SPI_PAD_CONFIG_Q[0], // [] wr_dis of SPI_PAD_CONFIG_Q 1020 NULL 1021 }; 1022 1023 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D[] = { 1024 &WR_DIS_SPI_PAD_CONFIG_D[0], // [] wr_dis of SPI_PAD_CONFIG_D 1025 NULL 1026 }; 1027 1028 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_CS[] = { 1029 &WR_DIS_SPI_PAD_CONFIG_CS[0], // [] wr_dis of SPI_PAD_CONFIG_CS 1030 NULL 1031 }; 1032 1033 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_HD[] = { 1034 &WR_DIS_SPI_PAD_CONFIG_HD[0], // [] wr_dis of SPI_PAD_CONFIG_HD 1035 NULL 1036 }; 1037 1038 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_WP[] = { 1039 &WR_DIS_SPI_PAD_CONFIG_WP[0], // [] wr_dis of SPI_PAD_CONFIG_WP 1040 NULL 1041 }; 1042 1043 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_DQS[] = { 1044 &WR_DIS_SPI_PAD_CONFIG_DQS[0], // [] wr_dis of SPI_PAD_CONFIG_DQS 1045 NULL 1046 }; 1047 1048 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D4[] = { 1049 &WR_DIS_SPI_PAD_CONFIG_D4[0], // [] wr_dis of SPI_PAD_CONFIG_D4 1050 NULL 1051 }; 1052 1053 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D5[] = { 1054 &WR_DIS_SPI_PAD_CONFIG_D5[0], // [] wr_dis of SPI_PAD_CONFIG_D5 1055 NULL 1056 }; 1057 1058 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D6[] = { 1059 &WR_DIS_SPI_PAD_CONFIG_D6[0], // [] wr_dis of SPI_PAD_CONFIG_D6 1060 NULL 1061 }; 1062 1063 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SPI_PAD_CONFIG_D7[] = { 1064 &WR_DIS_SPI_PAD_CONFIG_D7[0], // [] wr_dis of SPI_PAD_CONFIG_D7 1065 NULL 1066 }; 1067 1068 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MAJOR[] = { 1069 &WR_DIS_WAFER_VERSION_MAJOR[0], // [] wr_dis of WAFER_VERSION_MAJOR 1070 NULL 1071 }; 1072 1073 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_HI[] = { 1074 &WR_DIS_WAFER_VERSION_MINOR_HI[0], // [] wr_dis of WAFER_VERSION_MINOR_HI 1075 NULL 1076 }; 1077 1078 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_VERSION[] = { 1079 &WR_DIS_FLASH_VERSION[0], // [] wr_dis of FLASH_VERSION 1080 NULL 1081 }; 1082 1083 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MAJOR[] = { 1084 &WR_DIS_BLK_VERSION_MAJOR[0], // [] wr_dis of BLK_VERSION_MAJOR 1085 NULL 1086 }; 1087 1088 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PSRAM_VERSION[] = { 1089 &WR_DIS_PSRAM_VERSION[0], // [] wr_dis of PSRAM_VERSION 1090 NULL 1091 }; 1092 1093 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_PKG_VERSION[] = { 1094 &WR_DIS_PKG_VERSION[0], // [] wr_dis of PKG_VERSION 1095 NULL 1096 }; 1097 1098 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_WAFER_VERSION_MINOR_LO[] = { 1099 &WR_DIS_WAFER_VERSION_MINOR_LO[0], // [] wr_dis of WAFER_VERSION_MINOR_LO 1100 NULL 1101 }; 1102 1103 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_SYS_DATA_PART1[] = { 1104 &WR_DIS_SYS_DATA_PART1[0], // [] wr_dis of BLOCK2 1105 NULL 1106 }; 1107 1108 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_OPTIONAL_UNIQUE_ID[] = { 1109 &WR_DIS_OPTIONAL_UNIQUE_ID[0], // [] wr_dis of OPTIONAL_UNIQUE_ID 1110 NULL 1111 }; 1112 1113 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_ADC_CALIB[] = { 1114 &WR_DIS_ADC_CALIB[0], // [] wr_dis of ADC_CALIB 1115 NULL 1116 }; 1117 1118 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK_VERSION_MINOR[] = { 1119 &WR_DIS_BLK_VERSION_MINOR[0], // [] wr_dis of BLK_VERSION_MINOR 1120 NULL 1121 }; 1122 1123 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_TEMP_CALIB[] = { 1124 &WR_DIS_TEMP_CALIB[0], // [] wr_dis of TEMP_CALIB 1125 NULL 1126 }; 1127 1128 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A10H[] = { 1129 &WR_DIS_RTCCALIB_V1IDX_A10H[0], // [] wr_dis of RTCCALIB_V1IDX_A10H 1130 NULL 1131 }; 1132 1133 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A11H[] = { 1134 &WR_DIS_RTCCALIB_V1IDX_A11H[0], // [] wr_dis of RTCCALIB_V1IDX_A11H 1135 NULL 1136 }; 1137 1138 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A12H[] = { 1139 &WR_DIS_RTCCALIB_V1IDX_A12H[0], // [] wr_dis of RTCCALIB_V1IDX_A12H 1140 NULL 1141 }; 1142 1143 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A13H[] = { 1144 &WR_DIS_RTCCALIB_V1IDX_A13H[0], // [] wr_dis of RTCCALIB_V1IDX_A13H 1145 NULL 1146 }; 1147 1148 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A20H[] = { 1149 &WR_DIS_RTCCALIB_V1IDX_A20H[0], // [] wr_dis of RTCCALIB_V1IDX_A20H 1150 NULL 1151 }; 1152 1153 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A21H[] = { 1154 &WR_DIS_RTCCALIB_V1IDX_A21H[0], // [] wr_dis of RTCCALIB_V1IDX_A21H 1155 NULL 1156 }; 1157 1158 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A22H[] = { 1159 &WR_DIS_RTCCALIB_V1IDX_A22H[0], // [] wr_dis of RTCCALIB_V1IDX_A22H 1160 NULL 1161 }; 1162 1163 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A23H[] = { 1164 &WR_DIS_RTCCALIB_V1IDX_A23H[0], // [] wr_dis of RTCCALIB_V1IDX_A23H 1165 NULL 1166 }; 1167 1168 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A10L[] = { 1169 &WR_DIS_RTCCALIB_V1IDX_A10L[0], // [] wr_dis of RTCCALIB_V1IDX_A10L 1170 NULL 1171 }; 1172 1173 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A11L[] = { 1174 &WR_DIS_RTCCALIB_V1IDX_A11L[0], // [] wr_dis of RTCCALIB_V1IDX_A11L 1175 NULL 1176 }; 1177 1178 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A12L[] = { 1179 &WR_DIS_RTCCALIB_V1IDX_A12L[0], // [] wr_dis of RTCCALIB_V1IDX_A12L 1180 NULL 1181 }; 1182 1183 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A13L[] = { 1184 &WR_DIS_RTCCALIB_V1IDX_A13L[0], // [] wr_dis of RTCCALIB_V1IDX_A13L 1185 NULL 1186 }; 1187 1188 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A20L[] = { 1189 &WR_DIS_RTCCALIB_V1IDX_A20L[0], // [] wr_dis of RTCCALIB_V1IDX_A20L 1190 NULL 1191 }; 1192 1193 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A21L[] = { 1194 &WR_DIS_RTCCALIB_V1IDX_A21L[0], // [] wr_dis of RTCCALIB_V1IDX_A21L 1195 NULL 1196 }; 1197 1198 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A22L[] = { 1199 &WR_DIS_RTCCALIB_V1IDX_A22L[0], // [] wr_dis of RTCCALIB_V1IDX_A22L 1200 NULL 1201 }; 1202 1203 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_RTCCALIB_V1IDX_A23L[] = { 1204 &WR_DIS_RTCCALIB_V1IDX_A23L[0], // [] wr_dis of RTCCALIB_V1IDX_A23L 1205 NULL 1206 }; 1207 1208 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_USR_DATA[] = { 1209 &WR_DIS_BLOCK_USR_DATA[0], // [WR_DIS.USER_DATA] wr_dis of BLOCK_USR_DATA 1210 NULL 1211 }; 1212 1213 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_CUSTOM_MAC[] = { 1214 &WR_DIS_CUSTOM_MAC[0], // [WR_DIS.MAC_CUSTOM WR_DIS.USER_DATA_MAC_CUSTOM] wr_dis of CUSTOM_MAC 1215 NULL 1216 }; 1217 1218 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY0[] = { 1219 &WR_DIS_BLOCK_KEY0[0], // [WR_DIS.KEY0] wr_dis of BLOCK_KEY0 1220 NULL 1221 }; 1222 1223 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY1[] = { 1224 &WR_DIS_BLOCK_KEY1[0], // [WR_DIS.KEY1] wr_dis of BLOCK_KEY1 1225 NULL 1226 }; 1227 1228 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY2[] = { 1229 &WR_DIS_BLOCK_KEY2[0], // [WR_DIS.KEY2] wr_dis of BLOCK_KEY2 1230 NULL 1231 }; 1232 1233 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY3[] = { 1234 &WR_DIS_BLOCK_KEY3[0], // [WR_DIS.KEY3] wr_dis of BLOCK_KEY3 1235 NULL 1236 }; 1237 1238 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY4[] = { 1239 &WR_DIS_BLOCK_KEY4[0], // [WR_DIS.KEY4] wr_dis of BLOCK_KEY4 1240 NULL 1241 }; 1242 1243 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_KEY5[] = { 1244 &WR_DIS_BLOCK_KEY5[0], // [WR_DIS.KEY5] wr_dis of BLOCK_KEY5 1245 NULL 1246 }; 1247 1248 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK_SYS_DATA2[] = { 1249 &WR_DIS_BLOCK_SYS_DATA2[0], // [WR_DIS.SYS_DATA_PART2] wr_dis of BLOCK_SYS_DATA2 1250 NULL 1251 }; 1252 1253 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_EXCHG_PINS[] = { 1254 &WR_DIS_USB_EXCHG_PINS[0], // [] wr_dis of USB_EXCHG_PINS 1255 NULL 1256 }; 1257 1258 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_EXT_PHY_ENABLE[] = { 1259 &WR_DIS_USB_EXT_PHY_ENABLE[0], // [WR_DIS.EXT_PHY_ENABLE] wr_dis of USB_EXT_PHY_ENABLE 1260 NULL 1261 }; 1262 1263 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_USB_FORCE_NOPERSIST[] = { 1264 &WR_DIS_USB_FORCE_NOPERSIST[0], // [] wr_dis of USB_FORCE_NOPERSIST 1265 NULL 1266 }; 1267 1268 const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLOCK0_VERSION[] = { 1269 &WR_DIS_BLOCK0_VERSION[0], // [] wr_dis of BLOCK0_VERSION 1270 NULL 1271 }; 1272 1273 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS[] = { 1274 &RD_DIS[0], // [] Disable reading from BlOCK4-10 1275 NULL 1276 }; 1277 1278 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY0[] = { 1279 &RD_DIS_BLOCK_KEY0[0], // [RD_DIS.KEY0] rd_dis of BLOCK_KEY0 1280 NULL 1281 }; 1282 1283 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY1[] = { 1284 &RD_DIS_BLOCK_KEY1[0], // [RD_DIS.KEY1] rd_dis of BLOCK_KEY1 1285 NULL 1286 }; 1287 1288 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY2[] = { 1289 &RD_DIS_BLOCK_KEY2[0], // [RD_DIS.KEY2] rd_dis of BLOCK_KEY2 1290 NULL 1291 }; 1292 1293 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY3[] = { 1294 &RD_DIS_BLOCK_KEY3[0], // [RD_DIS.KEY3] rd_dis of BLOCK_KEY3 1295 NULL 1296 }; 1297 1298 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY4[] = { 1299 &RD_DIS_BLOCK_KEY4[0], // [RD_DIS.KEY4] rd_dis of BLOCK_KEY4 1300 NULL 1301 }; 1302 1303 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_KEY5[] = { 1304 &RD_DIS_BLOCK_KEY5[0], // [RD_DIS.KEY5] rd_dis of BLOCK_KEY5 1305 NULL 1306 }; 1307 1308 const esp_efuse_desc_t* ESP_EFUSE_RD_DIS_BLOCK_SYS_DATA2[] = { 1309 &RD_DIS_BLOCK_SYS_DATA2[0], // [RD_DIS.SYS_DATA_PART2] rd_dis of BLOCK_SYS_DATA2 1310 NULL 1311 }; 1312 1313 const esp_efuse_desc_t* ESP_EFUSE_DIS_ICACHE[] = { 1314 &DIS_ICACHE[0], // [] Set this bit to disable Icache 1315 NULL 1316 }; 1317 1318 const esp_efuse_desc_t* ESP_EFUSE_DIS_DCACHE[] = { 1319 &DIS_DCACHE[0], // [] Set this bit to disable Dcache 1320 NULL 1321 }; 1322 1323 const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_ICACHE[] = { 1324 &DIS_DOWNLOAD_ICACHE[0], // [] Disables Icache when SoC is in Download mode 1325 NULL 1326 }; 1327 1328 const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_DCACHE[] = { 1329 &DIS_DOWNLOAD_DCACHE[0], // [] Disables Dcache when SoC is in Download mode 1330 NULL 1331 }; 1332 1333 const esp_efuse_desc_t* ESP_EFUSE_DIS_FORCE_DOWNLOAD[] = { 1334 &DIS_FORCE_DOWNLOAD[0], // [] Set this bit to disable the function that forces chip into download mode 1335 NULL 1336 }; 1337 1338 const esp_efuse_desc_t* ESP_EFUSE_DIS_USB[] = { 1339 &DIS_USB[0], // [] Set this bit to disable USB OTG function 1340 NULL 1341 }; 1342 1343 const esp_efuse_desc_t* ESP_EFUSE_DIS_TWAI[] = { 1344 &DIS_TWAI[0], // [DIS_CAN] Set this bit to disable the TWAI Controller function 1345 NULL 1346 }; 1347 1348 const esp_efuse_desc_t* ESP_EFUSE_DIS_BOOT_REMAP[] = { 1349 &DIS_BOOT_REMAP[0], // [] Disables capability to Remap RAM to ROM address space 1350 NULL 1351 }; 1352 1353 const esp_efuse_desc_t* ESP_EFUSE_SOFT_DIS_JTAG[] = { 1354 &SOFT_DIS_JTAG[0], // [] Software disables JTAG. When software disabled; JTAG can be activated temporarily by HMAC peripheral 1355 NULL 1356 }; 1357 1358 const esp_efuse_desc_t* ESP_EFUSE_HARD_DIS_JTAG[] = { 1359 &HARD_DIS_JTAG[0], // [] Hardware disables JTAG permanently 1360 NULL 1361 }; 1362 1363 const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT[] = { 1364 &DIS_DOWNLOAD_MANUAL_ENCRYPT[0], // [] Disables flash encryption when in download boot modes 1365 NULL 1366 }; 1367 1368 const esp_efuse_desc_t* ESP_EFUSE_USB_EXCHG_PINS[] = { 1369 &USB_EXCHG_PINS[0], // [] Set this bit to exchange USB D+ and D- pins 1370 NULL 1371 }; 1372 1373 const esp_efuse_desc_t* ESP_EFUSE_USB_EXT_PHY_ENABLE[] = { 1374 &USB_EXT_PHY_ENABLE[0], // [EXT_PHY_ENABLE] Set this bit to enable external USB PHY 1375 NULL 1376 }; 1377 1378 const esp_efuse_desc_t* ESP_EFUSE_USB_FORCE_NOPERSIST[] = { 1379 &USB_FORCE_NOPERSIST[0], // [] If set; forces USB BVALID to 1 1380 NULL 1381 }; 1382 1383 const esp_efuse_desc_t* ESP_EFUSE_BLOCK0_VERSION[] = { 1384 &BLOCK0_VERSION[0], // [] BLOCK0 efuse version 1385 NULL 1386 }; 1387 1388 const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_XPD[] = { 1389 &VDD_SPI_XPD[0], // [] If VDD_SPI_FORCE is 1; this value determines if the VDD_SPI regulator is powered on 1390 NULL 1391 }; 1392 1393 const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_TIEH[] = { 1394 &VDD_SPI_TIEH[0], // [] If VDD_SPI_FORCE is 1; determines VDD_SPI voltage {0: "VDD_SPI connects to 1.8 V LDO"; 1: "VDD_SPI connects to VDD3P3_RTC_IO"} 1395 NULL 1396 }; 1397 1398 const esp_efuse_desc_t* ESP_EFUSE_VDD_SPI_FORCE[] = { 1399 &VDD_SPI_FORCE[0], // [] Set this bit to use XPD_VDD_PSI_REG and VDD_SPI_TIEH to configure VDD_SPI LDO 1400 NULL 1401 }; 1402 1403 const esp_efuse_desc_t* ESP_EFUSE_WDT_DELAY_SEL[] = { 1404 &WDT_DELAY_SEL[0], // [] RTC watchdog timeout threshold; in unit of slow clock cycle {0: "40000"; 1: "80000"; 2: "160000"; 3: "320000"} 1405 NULL 1406 }; 1407 1408 const esp_efuse_desc_t* ESP_EFUSE_SPI_BOOT_CRYPT_CNT[] = { 1409 &SPI_BOOT_CRYPT_CNT[0], // [] Enables flash encryption when 1 or 3 bits are set and disabled otherwise {0: "Disable"; 1: "Enable"; 3: "Disable"; 7: "Enable"} 1410 NULL 1411 }; 1412 1413 const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE0[] = { 1414 &SECURE_BOOT_KEY_REVOKE0[0], // [] Revoke 1st secure boot key 1415 NULL 1416 }; 1417 1418 const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE1[] = { 1419 &SECURE_BOOT_KEY_REVOKE1[0], // [] Revoke 2nd secure boot key 1420 NULL 1421 }; 1422 1423 const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_KEY_REVOKE2[] = { 1424 &SECURE_BOOT_KEY_REVOKE2[0], // [] Revoke 3rd secure boot key 1425 NULL 1426 }; 1427 1428 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_0[] = { 1429 &KEY_PURPOSE_0[0], // [KEY0_PURPOSE] Purpose of KEY0 1430 NULL 1431 }; 1432 1433 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_1[] = { 1434 &KEY_PURPOSE_1[0], // [KEY1_PURPOSE] Purpose of KEY1 1435 NULL 1436 }; 1437 1438 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_2[] = { 1439 &KEY_PURPOSE_2[0], // [KEY2_PURPOSE] Purpose of KEY2 1440 NULL 1441 }; 1442 1443 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_3[] = { 1444 &KEY_PURPOSE_3[0], // [KEY3_PURPOSE] Purpose of KEY3 1445 NULL 1446 }; 1447 1448 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_4[] = { 1449 &KEY_PURPOSE_4[0], // [KEY4_PURPOSE] Purpose of KEY4 1450 NULL 1451 }; 1452 1453 const esp_efuse_desc_t* ESP_EFUSE_KEY_PURPOSE_5[] = { 1454 &KEY_PURPOSE_5[0], // [KEY5_PURPOSE] Purpose of KEY5 1455 NULL 1456 }; 1457 1458 const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_EN[] = { 1459 &SECURE_BOOT_EN[0], // [] Set this bit to enable secure boot 1460 NULL 1461 }; 1462 1463 const esp_efuse_desc_t* ESP_EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE[] = { 1464 &SECURE_BOOT_AGGRESSIVE_REVOKE[0], // [] Set this bit to enable aggressive secure boot key revocation mode 1465 NULL 1466 }; 1467 1468 const esp_efuse_desc_t* ESP_EFUSE_FLASH_TPUW[] = { 1469 &FLASH_TPUW[0], // [] Configures flash startup delay after SoC power-up; in unit of (ms/2). When the value is 15; delay is 7.5 ms 1470 NULL 1471 }; 1472 1473 const esp_efuse_desc_t* ESP_EFUSE_DIS_DOWNLOAD_MODE[] = { 1474 &DIS_DOWNLOAD_MODE[0], // [] Set this bit to disable all download boot modes 1475 NULL 1476 }; 1477 1478 const esp_efuse_desc_t* ESP_EFUSE_DIS_LEGACY_SPI_BOOT[] = { 1479 &DIS_LEGACY_SPI_BOOT[0], // [] Set this bit to disable Legacy SPI boot mode 1480 NULL 1481 }; 1482 1483 const esp_efuse_desc_t* ESP_EFUSE_UART_PRINT_CHANNEL[] = { 1484 &UART_PRINT_CHANNEL[0], // [] Selects the default UART for printing boot messages {0: "UART0"; 1: "UART1"} 1485 NULL 1486 }; 1487 1488 const esp_efuse_desc_t* ESP_EFUSE_DIS_USB_DOWNLOAD_MODE[] = { 1489 &DIS_USB_DOWNLOAD_MODE[0], // [] Set this bit to disable use of USB OTG in UART download boot mode 1490 NULL 1491 }; 1492 1493 const esp_efuse_desc_t* ESP_EFUSE_ENABLE_SECURITY_DOWNLOAD[] = { 1494 &ENABLE_SECURITY_DOWNLOAD[0], // [] Set this bit to enable secure UART download mode (read/write flash only) 1495 NULL 1496 }; 1497 1498 const esp_efuse_desc_t* ESP_EFUSE_UART_PRINT_CONTROL[] = { 1499 &UART_PRINT_CONTROL[0], // [] Set the default UART boot message output mode {0: "Enable"; 1: "Enable when GPIO46 is low at reset"; 2: "Enable when GPIO46 is high at reset"; 3: "Disable"} 1500 NULL 1501 }; 1502 1503 const esp_efuse_desc_t* ESP_EFUSE_PIN_POWER_SELECTION[] = { 1504 &PIN_POWER_SELECTION[0], // [] Set default power supply for GPIO33-GPIO37; set when SPI flash is initialized {0: "VDD3P3_CPU"; 1: "VDD_SPI"} 1505 NULL 1506 }; 1507 1508 const esp_efuse_desc_t* ESP_EFUSE_FLASH_TYPE[] = { 1509 &FLASH_TYPE[0], // [] SPI flash type {0: "4 data lines"; 1: "8 data lines"} 1510 NULL 1511 }; 1512 1513 const esp_efuse_desc_t* ESP_EFUSE_FORCE_SEND_RESUME[] = { 1514 &FORCE_SEND_RESUME[0], // [] If set; forces ROM code to send an SPI flash resume command during SPI boot 1515 NULL 1516 }; 1517 1518 const esp_efuse_desc_t* ESP_EFUSE_SECURE_VERSION[] = { 1519 &SECURE_VERSION[0], // [] Secure version (used by ESP-IDF anti-rollback feature) 1520 NULL 1521 }; 1522 1523 const esp_efuse_desc_t* ESP_EFUSE_DISABLE_WAFER_VERSION_MAJOR[] = { 1524 &DISABLE_WAFER_VERSION_MAJOR[0], // [] Disables check of wafer version major 1525 NULL 1526 }; 1527 1528 const esp_efuse_desc_t* ESP_EFUSE_DISABLE_BLK_VERSION_MAJOR[] = { 1529 &DISABLE_BLK_VERSION_MAJOR[0], // [] Disables check of blk version major 1530 NULL 1531 }; 1532 1533 const esp_efuse_desc_t* ESP_EFUSE_MAC[] = { 1534 &MAC[0], // [MAC_FACTORY] MAC address 1535 &MAC[1], // [MAC_FACTORY] MAC address 1536 &MAC[2], // [MAC_FACTORY] MAC address 1537 &MAC[3], // [MAC_FACTORY] MAC address 1538 &MAC[4], // [MAC_FACTORY] MAC address 1539 &MAC[5], // [MAC_FACTORY] MAC address 1540 NULL 1541 }; 1542 1543 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CLK[] = { 1544 &SPI_PAD_CONFIG_CLK[0], // [] SPI_PAD_configure CLK 1545 NULL 1546 }; 1547 1548 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_Q[] = { 1549 &SPI_PAD_CONFIG_Q[0], // [] SPI_PAD_configure Q(D1) 1550 NULL 1551 }; 1552 1553 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D[] = { 1554 &SPI_PAD_CONFIG_D[0], // [] SPI_PAD_configure D(D0) 1555 NULL 1556 }; 1557 1558 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_CS[] = { 1559 &SPI_PAD_CONFIG_CS[0], // [] SPI_PAD_configure CS 1560 NULL 1561 }; 1562 1563 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_HD[] = { 1564 &SPI_PAD_CONFIG_HD[0], // [] SPI_PAD_configure HD(D3) 1565 NULL 1566 }; 1567 1568 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_WP[] = { 1569 &SPI_PAD_CONFIG_WP[0], // [] SPI_PAD_configure WP(D2) 1570 NULL 1571 }; 1572 1573 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_DQS[] = { 1574 &SPI_PAD_CONFIG_DQS[0], // [] SPI_PAD_configure DQS 1575 NULL 1576 }; 1577 1578 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D4[] = { 1579 &SPI_PAD_CONFIG_D4[0], // [] SPI_PAD_configure D4 1580 NULL 1581 }; 1582 1583 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D5[] = { 1584 &SPI_PAD_CONFIG_D5[0], // [] SPI_PAD_configure D5 1585 NULL 1586 }; 1587 1588 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D6[] = { 1589 &SPI_PAD_CONFIG_D6[0], // [] SPI_PAD_configure D6 1590 NULL 1591 }; 1592 1593 const esp_efuse_desc_t* ESP_EFUSE_SPI_PAD_CONFIG_D7[] = { 1594 &SPI_PAD_CONFIG_D7[0], // [] SPI_PAD_configure D7 1595 NULL 1596 }; 1597 1598 const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MAJOR[] = { 1599 &WAFER_VERSION_MAJOR[0], // [] WAFER_VERSION_MAJOR 1600 NULL 1601 }; 1602 1603 const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_HI[] = { 1604 &WAFER_VERSION_MINOR_HI[0], // [] WAFER_VERSION_MINOR most significant bit 1605 NULL 1606 }; 1607 1608 const esp_efuse_desc_t* ESP_EFUSE_FLASH_VERSION[] = { 1609 &FLASH_VERSION[0], // [] Flash version 1610 NULL 1611 }; 1612 1613 const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MAJOR[] = { 1614 &BLK_VERSION_MAJOR[0], // [] BLK_VERSION_MAJOR 1615 NULL 1616 }; 1617 1618 const esp_efuse_desc_t* ESP_EFUSE_PSRAM_VERSION[] = { 1619 &PSRAM_VERSION[0], // [] PSRAM version 1620 NULL 1621 }; 1622 1623 const esp_efuse_desc_t* ESP_EFUSE_PKG_VERSION[] = { 1624 &PKG_VERSION[0], // [] Package version 1625 NULL 1626 }; 1627 1628 const esp_efuse_desc_t* ESP_EFUSE_WAFER_VERSION_MINOR_LO[] = { 1629 &WAFER_VERSION_MINOR_LO[0], // [] WAFER_VERSION_MINOR least significant bits 1630 NULL 1631 }; 1632 1633 const esp_efuse_desc_t* ESP_EFUSE_OPTIONAL_UNIQUE_ID[] = { 1634 &OPTIONAL_UNIQUE_ID[0], // [] Optional unique 128-bit ID 1635 NULL 1636 }; 1637 1638 const esp_efuse_desc_t* ESP_EFUSE_ADC_CALIB[] = { 1639 &ADC_CALIB[0], // [] 4 bit of ADC calibration 1640 NULL 1641 }; 1642 1643 const esp_efuse_desc_t* ESP_EFUSE_BLK_VERSION_MINOR[] = { 1644 &BLK_VERSION_MINOR[0], // [] BLK_VERSION_MINOR of BLOCK2 {0: "No calib"; 1: "ADC calib V1"; 2: "ADC calib V2"} 1645 NULL 1646 }; 1647 1648 const esp_efuse_desc_t* ESP_EFUSE_TEMP_CALIB[] = { 1649 &TEMP_CALIB[0], // [] Temperature calibration data 1650 NULL 1651 }; 1652 1653 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A10H[] = { 1654 &RTCCALIB_V1IDX_A10H[0], // [] 1655 NULL 1656 }; 1657 1658 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A11H[] = { 1659 &RTCCALIB_V1IDX_A11H[0], // [] 1660 NULL 1661 }; 1662 1663 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A12H[] = { 1664 &RTCCALIB_V1IDX_A12H[0], // [] 1665 NULL 1666 }; 1667 1668 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A13H[] = { 1669 &RTCCALIB_V1IDX_A13H[0], // [] 1670 NULL 1671 }; 1672 1673 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A20H[] = { 1674 &RTCCALIB_V1IDX_A20H[0], // [] 1675 NULL 1676 }; 1677 1678 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A21H[] = { 1679 &RTCCALIB_V1IDX_A21H[0], // [] 1680 NULL 1681 }; 1682 1683 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A22H[] = { 1684 &RTCCALIB_V1IDX_A22H[0], // [] 1685 NULL 1686 }; 1687 1688 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A23H[] = { 1689 &RTCCALIB_V1IDX_A23H[0], // [] 1690 NULL 1691 }; 1692 1693 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A10L[] = { 1694 &RTCCALIB_V1IDX_A10L[0], // [] 1695 NULL 1696 }; 1697 1698 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A11L[] = { 1699 &RTCCALIB_V1IDX_A11L[0], // [] 1700 NULL 1701 }; 1702 1703 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A12L[] = { 1704 &RTCCALIB_V1IDX_A12L[0], // [] 1705 NULL 1706 }; 1707 1708 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A13L[] = { 1709 &RTCCALIB_V1IDX_A13L[0], // [] 1710 NULL 1711 }; 1712 1713 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A20L[] = { 1714 &RTCCALIB_V1IDX_A20L[0], // [] 1715 NULL 1716 }; 1717 1718 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A21L[] = { 1719 &RTCCALIB_V1IDX_A21L[0], // [] 1720 NULL 1721 }; 1722 1723 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A22L[] = { 1724 &RTCCALIB_V1IDX_A22L[0], // [] 1725 NULL 1726 }; 1727 1728 const esp_efuse_desc_t* ESP_EFUSE_RTCCALIB_V1IDX_A23L[] = { 1729 &RTCCALIB_V1IDX_A23L[0], // [] 1730 NULL 1731 }; 1732 1733 const esp_efuse_desc_t* ESP_EFUSE_USER_DATA[] = { 1734 &USER_DATA[0], // [BLOCK_USR_DATA] User data 1735 NULL 1736 }; 1737 1738 const esp_efuse_desc_t* ESP_EFUSE_USER_DATA_MAC_CUSTOM[] = { 1739 &USER_DATA_MAC_CUSTOM[0], // [MAC_CUSTOM CUSTOM_MAC] Custom MAC 1740 NULL 1741 }; 1742 1743 const esp_efuse_desc_t* ESP_EFUSE_KEY0[] = { 1744 &KEY0[0], // [BLOCK_KEY0] Key0 or user data 1745 NULL 1746 }; 1747 1748 const esp_efuse_desc_t* ESP_EFUSE_KEY1[] = { 1749 &KEY1[0], // [BLOCK_KEY1] Key1 or user data 1750 NULL 1751 }; 1752 1753 const esp_efuse_desc_t* ESP_EFUSE_KEY2[] = { 1754 &KEY2[0], // [BLOCK_KEY2] Key2 or user data 1755 NULL 1756 }; 1757 1758 const esp_efuse_desc_t* ESP_EFUSE_KEY3[] = { 1759 &KEY3[0], // [BLOCK_KEY3] Key3 or user data 1760 NULL 1761 }; 1762 1763 const esp_efuse_desc_t* ESP_EFUSE_KEY4[] = { 1764 &KEY4[0], // [BLOCK_KEY4] Key4 or user data 1765 NULL 1766 }; 1767 1768 const esp_efuse_desc_t* ESP_EFUSE_KEY5[] = { 1769 &KEY5[0], // [BLOCK_KEY5] Key5 or user data 1770 NULL 1771 }; 1772 1773 const esp_efuse_desc_t* ESP_EFUSE_SYS_DATA_PART2[] = { 1774 &SYS_DATA_PART2[0], // [BLOCK_SYS_DATA2] System data part 2 (reserved) 1775 NULL 1776 }; 1777