Currently, "retry on crc error" code is not reached, but this is needed on CVA6 where the first attempt to READ/WRITE multiple blocks always return CRC error.
To fix that, do not alter "retries" variable of entire command (which is set to 0), instead retry static amount of times (default 5) the stop command only in case of CRC errors.