Merge branch 'bugfix/remove_secure_boot_test_mode' into 'master'

remove secure boot test mode

See merge request idf/esp-idf!5059
This commit is contained in:
Angus Gratton
2019-06-11 07:25:07 +08:00
3 changed files with 3 additions and 23 deletions

View File

@@ -558,9 +558,10 @@ static void load_image(const esp_image_metadata_t* image_data)
err = esp_secure_boot_permanently_enable();
if (err != ESP_OK) {
ESP_LOGE(TAG, "FAILED TO ENABLE SECURE BOOT (%d).", err);
/* Allow booting to continue, as the failure is probably
due to user-configured EFUSEs for testing...
/* Panic here as secure boot is not properly enabled
due to one of the reasons in above function
*/
abort();
}
#endif