Hi,
termination of erase or program operation by unexpected reset or power-down usually leads to ECC errors in those blocks. EEE driver is able to recover but must be configured appropriately. There are two ways depending on a microcontroller - it's either handled by IVOR1 exception or (if it is supported) via MCR[ERR].
Method using MCR[ERR] is supported only on microcontrollers which allow user to suppress reporting of ECC errors on data blocks. MPC5775E/B support this:
lukaszadrapa_0-1660231430764.png
And in the EEE source files, you can find that this method is selected:
lukaszadrapa_1-1660231464732.png
But the driver does not touch PFCR3[DERR_SUP], so it's responsibility of user to set this bit.
Regards,
Lukas