blob: d57baacc93d1203ece50abc44c7c774a7d3f89fe [file] [log] [blame]
Nandor Han2541ce22021-06-10 16:56:43 +03001#
2# SPDX-License-Identifier: GPL-2.0+
3#
4# Copyright (c), Vaisala Oyj
5#
6
7menu "Reboot Mode Support"
8
9config DM_REBOOT_MODE
10 bool "Enable reboot mode using Driver Model"
11 depends on DM
Nandor Han2541ce22021-06-10 16:56:43 +030012 help
13 Enable support for reboot mode control. This will allow users to
14 adjust the boot process based on reboot mode parameter
15 passed to U-Boot.
16
Nandor Hanf9db2f12021-06-10 16:56:44 +030017config DM_REBOOT_MODE_GPIO
18 bool "Use GPIOs as reboot mode backend"
19 depends on DM_REBOOT_MODE
Nandor Hanf9db2f12021-06-10 16:56:44 +030020 help
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
23 outside U-Boot.
24
Nandor Hanc74675b2021-06-10 16:56:45 +030025config DM_REBOOT_MODE_RTC
26 bool "Use RTC as reboot mode backend"
27 depends on DM_REBOOT_MODE
Nandor Hanc74675b2021-06-10 16:56:45 +030028 help
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).
32
Sean Anderson46b2e5e2022-12-02 11:03:53 -050033config REBOOT_MODE_NVMEM
34 bool "Use NVMEM reboot mode"
35 depends on DM_REBOOT_MODE && NVMEM
36 help
37 Use any kind of non-volatile memory (EEPROM, RTC, etc) to control the
38 reboot mode.
39
Nandor Han2541ce22021-06-10 16:56:43 +030040endmenu