oxnas: add SoC restart driver for reboot
[openwrt/staging/wigyori.git] / target / linux / oxnas / patches-4.14 / 150-oxnas-restart.patch
1 --- a/drivers/power/reset/Kconfig
2 +++ b/drivers/power/reset/Kconfig
3 @@ -113,6 +113,12 @@ config POWER_RESET_MSM
4 help
5 Power off and restart support for Qualcomm boards.
6
7 +config POWER_RESET_OXNAS
8 + bool "OXNAS SoC restart driver"
9 + depends on ARCH_OXNAS
10 + help
11 + Restart support for OXNAS boards.
12 +
13 config POWER_RESET_PIIX4_POWEROFF
14 tristate "Intel PIIX4 power-off driver"
15 depends on PCI
16 --- a/drivers/power/reset/Makefile
17 +++ b/drivers/power/reset/Makefile
18 @@ -12,6 +12,7 @@ obj-$(CONFIG_POWER_RESET_GPIO_RESTART) +
19 obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o
20 obj-$(CONFIG_POWER_RESET_IMX) += imx-snvs-poweroff.o
21 obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o
22 +obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o
23 obj-$(CONFIG_POWER_RESET_PIIX4_POWEROFF) += piix4-poweroff.o
24 obj-$(CONFIG_POWER_RESET_LTC2952) += ltc2952-poweroff.o
25 obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o