openwrt/target/linux/x86/patches-5.4/200-pcengines-apu2-reboot.patch
Hauke Mehrtens 5af55933e0 x86: copy kernel patches from 4.19 to 5.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-28 17:50:46 +01:00

20 lines
497 B
Diff

--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -469,6 +469,16 @@ static const struct dmi_system_id reboot
},
},
+ /* PC Engines */
+ { /* Handle problems with rebooting on PC Engines apu2 */
+ .callback = set_pci_reboot,
+ .ident = "PC Engines apu2",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "PC Engines"),
+ DMI_MATCH(DMI_BOARD_NAME, "apu2"),
+ },
+ },
+
/* Sony */
{ /* Handle problems with rebooting on Sony VGN-Z540N */
.callback = set_bios_reboot,