mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-13 05:47:11 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user