Firmware Recovery Options for Morello Board

I'm planning to make some modifications to the Morello board firmware to run on the SoC. Before proceeding, I'd like to understand the recovery options available if something goes wrong. Is there a way to restore the original firmware if needed?