aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-5.10/150-oxnas-restart.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-02-18 17:59:12 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-25 16:39:55 +0000
commit45c0e0ee419f678cf995127cef38093b974727d6 (patch)
treee020a124176098670cb9300f53d2b0376934f20b /target/linux/oxnas/patches-5.10/150-oxnas-restart.patch
parentdc68af4a1312775f3aeade7c46786858725cfabe (diff)
downloadupstream-45c0e0ee419f678cf995127cef38093b974727d6.tar.gz
upstream-45c0e0ee419f678cf995127cef38093b974727d6.tar.bz2
upstream-45c0e0ee419f678cf995127cef38093b974727d6.zip
oxnas: add experimental support for Linux 5.10
PCIe still reports link-down for some reason, RAID fails to assemble despite SATA looking good (maybe a generic problem with RAID?) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/patches-5.10/150-oxnas-restart.patch')
-rw-r--r--target/linux/oxnas/patches-5.10/150-oxnas-restart.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-5.10/150-oxnas-restart.patch b/target/linux/oxnas/patches-5.10/150-oxnas-restart.patch
new file mode 100644
index 0000000000..c5b07fd5a7
--- /dev/null
+++ b/target/linux/oxnas/patches-5.10/150-oxnas-restart.patch
@@ -0,0 +1,25 @@
+--- a/drivers/power/reset/Kconfig
++++ b/drivers/power/reset/Kconfig
+@@ -141,6 +141,12 @@ config POWER_RESET_OXNAS
+ help
+ Restart support for OXNAS/PLXTECH OX820 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
+@@ -18,6 +18,7 @@ obj-$(CONFIG_POWER_RESET_QCOM_PON) += qc
+ obj-$(CONFIG_POWER_RESET_OCELOT_RESET) += ocelot-reset.o
+ obj-$(CONFIG_POWER_RESET_PIIX4_POWEROFF) += piix4-poweroff.o
+ obj-$(CONFIG_POWER_RESET_LTC2952) += ltc2952-poweroff.o
++obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o
+ obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o
+ obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o
+ obj-$(CONFIG_POWER_RESET_ST) += st-poweroff.o