static void z2_power_off(void) { /* We're using deep sleep as poweroff, so clear PSPR to ensure that * bootloader will jump to its entry point in resume handler */ PSPR = 0x0; local_irq_disable(); pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PHYS_OFFSET - PAGE_OFFSET); }
static void zeus_power_off(void) { local_irq_disable(); pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP); }
static void zeus_power_off(void) { local_irq_disable(); pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PLAT_PHYS_OFFSET - PAGE_OFFSET); }