diff --git a/plat/qemu/common/qemu_pm.c b/plat/qemu/common/qemu_pm.c index c4ffcf9229..d72cedca75 100644 --- a/plat/qemu/common/qemu_pm.c +++ b/plat/qemu/common/qemu_pm.c @@ -205,15 +205,8 @@ void qemu_pwr_domain_suspend_finish(const psci_power_state_t *target_state) static void __dead2 qemu_system_off(void) { -#ifdef SECURE_GPIO_BASE - ERROR("QEMU System Power off: with GPIO.\n"); - gpio_set_direction(SECURE_GPIO_POWEROFF, GPIO_DIR_OUT); - gpio_set_value(SECURE_GPIO_POWEROFF, GPIO_LEVEL_HIGH); - gpio_set_value(SECURE_GPIO_POWEROFF, GPIO_LEVEL_LOW); -#else semihosting_exit(ADP_STOPPED_APPLICATION_EXIT, 0); ERROR("QEMU System Off: semihosting call unexpectedly returned.\n"); -#endif panic(); }