| # SPDX-License-Identifier: GPL-2.0+ |
| # Copyright (c), Vaisala Oyj |
| menu "Reboot Mode Support" |
| bool "Enable reboot mode using Driver Model" |
| Enable support for reboot mode control. This will allow users to |
| adjust the boot process based on reboot mode parameter |
| config DM_REBOOT_MODE_GPIO |
| bool "Use GPIOs as reboot mode backend" |
| depends on DM_REBOOT_MODE |
| Use GPIOs to control the reboot mode. This will allow users to boot |
| a device in a specific mode by using a GPIO that can be controlled |
| config DM_REBOOT_MODE_RTC |
| bool "Use RTC as reboot mode backend" |
| depends on DM_REBOOT_MODE |
| Use RTC non volatile memory to control the reboot mode. This will allow users to boot |
| a device in a specific mode by using a register(s) that can be controlled |
| outside U-Boot (e.g. Kernel). |
| bool "Use NVMEM reboot mode" |
| depends on DM_REBOOT_MODE && NVMEM |
| Use any kind of non-volatile memory (EEPROM, RTC, etc) to control the |