Пример #1
0
static void corgi_restart(char mode, const char *cmd)
{
	if (!machine_is_corgi())
		/* Green LED on tells the bootloader to reboot */
		gpio_set_value(CORGI_GPIO_LED_GREEN, 1);

	pxa_restart('h', cmd);
}
Пример #2
0
static void corgi_poweroff(void)
{
	if (!machine_is_corgi())
		/* Green LED off tells the bootloader to halt */
		gpio_set_value(CORGI_GPIO_LED_GREEN, 0);

	pxa_restart('h', NULL);
}
Пример #3
0
static void poodle_poweroff(void)
{
	pxa_restart('h', NULL);
}
Пример #4
0
/******************************************************************************
 * Machine init
 ******************************************************************************/
static void spitz_poweroff(void)
{
	pxa_restart(REBOOT_GPIO, NULL);
}
Пример #5
0
static void mioa701_restart(char c, const char *cmd)
{
	mioa701_machine_exit();
	pxa_restart('s', cmd);
}
Пример #6
0
static void mioa701_poweroff(void)
{
	mioa701_machine_exit();
	pxa_restart('s', NULL);
}
Пример #7
0
/******************************************************************************
 * Machine init
 ******************************************************************************/
static void spitz_poweroff(void)
{
	pxa_restart('g', NULL);
}
Пример #8
0
static void poodle_poweroff(void)
{
	pxa_restart(REBOOT_HARD, NULL);
}
Пример #9
0
static void tosa_poweroff(void)
{
	pxa_restart('g', NULL);
}