SLVAFL1 October 2024 TPS25751 , TPS26750
static int32_t UpdateRegionOfEeprom_Step1(uint8_t region_number)
{
int32_t retVal = -1;
/*
* First erases the region-pointer so that if there is an interruption while writing
* the new Patch Bundle, it is guaranteed the PD controller won't try to load it.
*/
retVal = WriteRegionPointer(region_number, 0);
RETURN_ON_ERROR(retVal);
error:
return retVal;
}