efuse: Adds support for esp32-s2 chip

This commit is contained in:
KonstantinKondrashov
2020-09-17 17:04:01 +08:00
parent a16152a78e
commit 66b9b589cb
15 changed files with 3555 additions and 298 deletions

View File

@@ -210,7 +210,6 @@ static esp_err_t initialise_flash_encryption(void)
ESP_LOGW(TAG, "Not disabling JTAG - SECURITY COMPROMISED");
#endif
esp_efuse_write_field_bit(ESP_EFUSE_DIS_BOOT_REMAP);
esp_efuse_write_field_bit(ESP_EFUSE_DIS_LEGACY_SPI_BOOT);
esp_err_t err = esp_efuse_batch_write_commit();