pub unsafe extern "C" fn bootloader_common_check_chip_revision_validity(
image_header: *const esp_image_header_t,
check_max_revision: bool,
) -> boolExpand description
@brief Check if the chip revision meets the image requirements.
This function verifies whether the actual chip revision satisfies the minimum and optionally the maximum chip revision requirements specified in the image.
@param image_header Pointer to the image header containing revision details. @param check_max_revision If true, also checks the maximum chip revision requirements.
@return true if the chip revision meets the requirements, false otherwise.