Nandor Han | 2541ce2 | 2021-06-10 16:56:43 +0300 | [diff] [blame] | 1 | # |
| 2 | # SPDX-License-Identifier: GPL-2.0+ |
| 3 | # |
| 4 | # Copyright (c), Vaisala Oyj |
| 5 | # |
| 6 | |
| 7 | menu "Reboot Mode Support" |
| 8 | |
| 9 | config DM_REBOOT_MODE |
| 10 | bool "Enable reboot mode using Driver Model" |
| 11 | depends on DM |
| 12 | default n |
| 13 | help |
| 14 | Enable support for reboot mode control. This will allow users to |
| 15 | adjust the boot process based on reboot mode parameter |
| 16 | passed to U-Boot. |
| 17 | |
Nandor Han | f9db2f1 | 2021-06-10 16:56:44 +0300 | [diff] [blame] | 18 | config DM_REBOOT_MODE_GPIO |
| 19 | bool "Use GPIOs as reboot mode backend" |
| 20 | depends on DM_REBOOT_MODE |
| 21 | default n |
| 22 | help |
| 23 | Use GPIOs to control the reboot mode. This will allow users to boot |
| 24 | a device in a specific mode by using a GPIO that can be controlled |
| 25 | outside U-Boot. |
| 26 | |
Nandor Han | c74675b | 2021-06-10 16:56:45 +0300 | [diff] [blame] | 27 | config DM_REBOOT_MODE_RTC |
| 28 | bool "Use RTC as reboot mode backend" |
| 29 | depends on DM_REBOOT_MODE |
| 30 | default n |
| 31 | help |
| 32 | Use RTC non volatile memory to control the reboot mode. This will allow users to boot |
| 33 | a device in a specific mode by using a register(s) that can be controlled |
| 34 | outside U-Boot (e.g. Kernel). |
| 35 | |
Nandor Han | 2541ce2 | 2021-06-10 16:56:43 +0300 | [diff] [blame] | 36 | endmenu |