static void spitz_restart(char mode, const char *cmd) { if((MSC0 & 0xffff0000) == 0x7ff00000) MSC0 = (MSC0 & 0xffff) | 0x7ee00000; spitz_poweroff(); }
static void spitz_restart(char mode) { /* Bootloader magic for a reboot */ if((MSC0 & 0xffff0000) == 0x7ff00000) MSC0 = (MSC0 & 0xffff) | 0x7ee00000; spitz_poweroff(); }
static void spitz_restart(enum reboot_mode mode, const char *cmd) { uint32_t msc0 = __raw_readl(MSC0); /* Bootloader magic for a reboot */ if ((msc0 & 0xffff0000) == 0x7ff00000) __raw_writel((msc0 & 0xffff) | 0x7ee00000, MSC0); spitz_poweroff(); }