diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-09-29 00:01:08 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-05 21:14:43 +0200 |
commit | 20f365d70f3d219fe808532fe5892ecb134dbc73 (patch) | |
tree | 31adcf8e6662d7d08a47aab04a66dd6f8851b6f1 /target/linux | |
parent | 7d905f1e95539f9bc43fad4f2892d916ced546cb (diff) | |
download | mtk-20170518-20f365d70f3d219fe808532fe5892ecb134dbc73.zip mtk-20170518-20f365d70f3d219fe808532fe5892ecb134dbc73.tar.gz mtk-20170518-20f365d70f3d219fe808532fe5892ecb134dbc73.tar.bz2 |
x86: fix reboot on apu2 boards
PC Engines apu2 needs to use the PCI reboot method, otherwise it can
hang.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch b/target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch new file mode 100644 index 0000000..f4f4860 --- /dev/null +++ b/target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch @@ -0,0 +1,19 @@ +--- a/arch/x86/kernel/reboot.c ++++ b/arch/x86/kernel/reboot.c +@@ -443,6 +443,16 @@ static struct dmi_system_id __initdata r + }, + }, + ++ /* 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, |