Add reboot to fastboot and uart boot mode