diff options
author | 2019-05-15 10:47:14 +0000 | |
---|---|---|
committer | 2019-06-25 23:58:40 +0200 | |
commit | 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef (patch) | |
tree | fe96dd089b859b37ea9b83cdea8b4dc493a06537 /drivers/power/reset/Kconfig | |
parent | dt-bindings: power: reset: add document for NVMEM based reboot-mode (diff) | |
download | wireguard-linux-7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef.tar.xz wireguard-linux-7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef.zip |
power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface
Add a new reboot mode write interface that is using an NVMEM cell
to store the reboot mode magic.
Signed-off-by: Nandor Han <nandor.han@vaisala.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r-- | drivers/power/reset/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 6533aa560aa1..bb4a4e854f96 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -245,5 +245,14 @@ config POWER_RESET_SC27XX PMICs includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. +config NVMEM_REBOOT_MODE + tristate "Generic NVMEM reboot mode driver" + select REBOOT_MODE + help + Say y here will enable reboot mode driver. This will + get reboot mode arguments and store it in a NVMEM cell, + then the bootloader can read it and take different + action according to the mode. + endif |