2 # SPDX-License-Identifier: GPL-2.0+
4 # Copyright (c), Vaisala Oyj
7 menu "Reboot Mode Support"
10 bool "Enable reboot mode using Driver Model"
13 Enable support for reboot mode control. This will allow users to
14 adjust the boot process based on reboot mode parameter
17 config DM_REBOOT_MODE_GPIO
18 bool "Use GPIOs as reboot mode backend"
19 depends on DM_REBOOT_MODE
21 Use GPIOs to control the reboot mode. This will allow users to boot
22 a device in a specific mode by using a GPIO that can be controlled
25 config DM_REBOOT_MODE_RTC
26 bool "Use RTC as reboot mode backend"
27 depends on DM_REBOOT_MODE
29 Use RTC non volatile memory to control the reboot mode. This will allow users to boot
30 a device in a specific mode by using a register(s) that can be controlled
31 outside U-Boot (e.g. Kernel).