/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include #include #include #include #include #include void __dead2 imx_system_off(void) { sc_pm_set_sys_power_mode(ipc_handle, SC_PM_PW_MODE_OFF); wfi(); ERROR("power off failed.\n"); panic(); }