aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-5.4/200-pcengines-apu2-reboot.patch
blob: 742b6d6ad555481bcc82a38f0f0507dd40c3d583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -486,6 +486,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,