bootloader_common_erase_part_type_data() function
Erase the partition data that is specified in the transferred list.
Arguments
list_erase
String containing a list of cleared partitions. Like this "nvs, phy". The string must be null-terminal.
ota_data_erase
If true then the OTA data partition will be cleared (if there is it in partition table).
Return value
Returns true on success, false otherwise.