1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 #include <cpu/x86/smm.h>
5 #include <intelblocks/xhci.h>
7 void mainboard_smi_sleep(u8 slp_typ
)
10 * Workaround: Reset the XHCI controller prior to S5 to avoid
11 * XHCI preventing shutdown. Linux needs to put the XHCI into D3
12 * before shutting down but the powerstate commands do not
15 if (slp_typ
== ACPI_S5
)