mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bootloader: Do not check the max_chip_rev_full
This commit is contained in:
parent
ab87a1012f
commit
05b8d8d698
@ -92,15 +92,6 @@ esp_err_t __attribute__((optimize("-Os"))) bootloader_common_check_chip_validity
|
||||
err = ESP_FAIL;
|
||||
}
|
||||
}
|
||||
if (type == ESP_IMAGE_APPLICATION) {
|
||||
unsigned max_rev = img_hdr->max_chip_rev_full;
|
||||
if ((IS_MAX_REV_SET(max_rev) && (revision > max_rev) && !efuse_ll_get_disable_wafer_version_major())) {
|
||||
ESP_LOGE(TAG, "Image requires chip rev <= v%d.%d, but chip is v%d.%d",
|
||||
max_rev / 100, max_rev % 100,
|
||||
major_rev, minor_rev);
|
||||
err = ESP_FAIL;
|
||||
}
|
||||
}
|
||||
#endif // CONFIG_IDF_ENV_FPGA
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user