aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-10-29 19:34:13 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-16 22:16:07 +0100
commit481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed (patch)
tree80fef94230617a7513db7dcdb3259c3b0a3333b4 /target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch
parent5c944d95ecc3c0f0e1d0f33d18574c1b7d29f6dd (diff)
downloadupstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.tar.gz
upstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.tar.bz2
upstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.zip
x86: Add support for kernel 4.14
This adds basic support for kernel 4.14, this was tested in qemu only. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch')
-rw-r--r--target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch b/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch
new file mode 100644
index 0000000000..048dfae04e
--- /dev/null
+++ b/target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch
@@ -0,0 +1,19 @@
+--- a/arch/x86/kernel/reboot.c
++++ b/arch/x86/kernel/reboot.c
+@@ -448,6 +448,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,