mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
a9dda40fe2
Rebase patches and port SATA driver to work with Linux > 5.13. Tested on Shuttle KD-20. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
924 B
Diff
26 lines
924 B
Diff
--- a/drivers/power/reset/Kconfig
|
|
+++ b/drivers/power/reset/Kconfig
|
|
@@ -148,6 +148,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
|
|
@@ -19,6 +19,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_REGULATOR) += regulator-poweroff.o
|
|
obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o
|