OpenBMC has properties called AutoReboot and RebootAttempts.
When AutoReboot is enabled, if the system enters an error state on boot, the system will attempt to boot again until the maximum number of attempted boots is reached. RebootAttempts is the current number of reboot attempts left.