void reset_misc(void) { char reboot_mode[2] = { 0 }; /* * Valid resets must contain the reboot mode magic, but we must not * override it when set previously (e.g. reboot to bootloader). */ omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); omap_reboot_mode_store(reboot_mode); }
int fastboot_set_reboot_flag(void) { return omap_reboot_mode_store("b"); }
int fb_set_reboot_flag(void) { return omap_reboot_mode_store('b'); }
void reset_misc(void) { omap_reboot_mode_store('u'); }