diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-03 02:30:21 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-03 02:46:05 +0100 |
commit | c1a805411424174d142b20e6fed98c94ad930468 (patch) | |
tree | 2c22a76dd8840d5ae1763f198931e09afaefbd74 /target/linux/oxnas/patches-4.14 | |
parent | bc97257ffefd560d7e77fec8c6ac9d3745ea9f11 (diff) | |
download | upstream-c1a805411424174d142b20e6fed98c94ad930468.tar.gz upstream-c1a805411424174d142b20e6fed98c94ad930468.tar.bz2 upstream-c1a805411424174d142b20e6fed98c94ad930468.zip |
oxnas: add SoC restart driver for reboot
Refresh oxnas kernel config while at it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/patches-4.14')
-rw-r--r-- | target/linux/oxnas/patches-4.14/150-oxnas-restart.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-4.14/150-oxnas-restart.patch b/target/linux/oxnas/patches-4.14/150-oxnas-restart.patch new file mode 100644 index 0000000000..dafa967592 --- /dev/null +++ b/target/linux/oxnas/patches-4.14/150-oxnas-restart.patch @@ -0,0 +1,25 @@ +--- a/drivers/power/reset/Kconfig ++++ b/drivers/power/reset/Kconfig +@@ -113,6 +113,12 @@ config POWER_RESET_MSM + help + Power off and restart support for Qualcomm boards. + ++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 +@@ -12,6 +12,7 @@ obj-$(CONFIG_POWER_RESET_GPIO_RESTART) + + obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o + obj-$(CONFIG_POWER_RESET_IMX) += imx-snvs-poweroff.o + obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o ++obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o + obj-$(CONFIG_POWER_RESET_PIIX4_POWEROFF) += piix4-poweroff.o + obj-$(CONFIG_POWER_RESET_LTC2952) += ltc2952-poweroff.o + obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o |