Example #1
0
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);
}
Example #2
0
int fastboot_set_reboot_flag(void)
{
	return omap_reboot_mode_store("b");
}
Example #3
0
int fb_set_reboot_flag(void)
{
	return omap_reboot_mode_store('b');
}
Example #4
0
void reset_misc(void)
{
	omap_reboot_mode_store('u');
}