aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-5.4/150-oxnas-restart.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-03-02 11:26:00 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-03-06 19:21:03 +0100
commit5ea1b1ecd14793c547cb141d149e43aa954e99fb (patch)
treefd4c5732cf6716dcafcc703bd365b7a565d1b385 /target/linux/oxnas/patches-5.4/150-oxnas-restart.patch
parent0b84b892516942f1b78e53665168c81aaa7f5256 (diff)
downloadupstream-5ea1b1ecd14793c547cb141d149e43aa954e99fb.tar.gz
upstream-5ea1b1ecd14793c547cb141d149e43aa954e99fb.tar.bz2
upstream-5ea1b1ecd14793c547cb141d149e43aa954e99fb.zip
oxnas: add 5.4 as testing kernel version
Add 5.4 kernel version as a new testing kernel option. Run-tested on Shuttle KD20, seems to work just as well as kernel 4.14. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/patches-5.4/150-oxnas-restart.patch')
-rw-r--r--target/linux/oxnas/patches-5.4/150-oxnas-restart.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-5.4/150-oxnas-restart.patch b/target/linux/oxnas/patches-5.4/150-oxnas-restart.patch
new file mode 100644
index 0000000000..79fbd9cdbe
--- /dev/null
+++ b/target/linux/oxnas/patches-5.4/150-oxnas-restart.patch
@@ -0,0 +1,25 @@
+--- a/drivers/power/reset/Kconfig
++++ b/drivers/power/reset/Kconfig
+@@ -123,6 +123,12 @@ config POWER_RESET_OCELOT_RESET
+ help
+ This driver supports restart for Microsemi Ocelot SoC.
+
++config POWER_RESET_OXNAS
++ bool "OXNAS SoC restart driver"
++ depends on ARCH_OXNAS
++ help
++ Restart support for OXNAS boards.
++
+ config POWER_RESET_PIIX4_POWEROFF
+ tristate "Intel PIIX4 power-off driver"
+ depends on PCI
+--- a/drivers/power/reset/Makefile
++++ b/drivers/power/reset/Makefile
+@@ -11,6 +11,7 @@ obj-$(CONFIG_POWER_RESET_GPIO) += gpio-p
+ obj-$(CONFIG_POWER_RESET_GPIO_RESTART) += gpio-restart.o
+ obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o
+ obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o
++obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o
+ obj-$(CONFIG_POWER_RESET_QCOM_PON) += qcom-pon.o
+ obj-$(CONFIG_POWER_RESET_OCELOT_RESET) += ocelot-reset.o
+ obj-$(CONFIG_POWER_RESET_PIIX4_POWEROFF) += piix4-poweroff.o