summaryrefslogtreecommitdiff
path: root/drivers/reboot-mode/Kconfig
blob: ac67bfcef623ae76eb800a2bf58b92074b926b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (c), Vaisala Oyj
#

menu "Reboot Mode Support"

config DM_REBOOT_MODE
	bool "Enable reboot mode using Driver Model"
	depends on DM
	default n
	help
		Enable support for reboot mode control. This will allow users to
		adjust the boot process based on reboot mode parameter
		passed to U-Boot.

config DM_REBOOT_MODE_GPIO
	bool "Use GPIOs as reboot mode backend"
	depends on DM_REBOOT_MODE
	default n
	help
		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
		outside U-Boot.

config DM_REBOOT_MODE_RTC
	bool "Use RTC as reboot mode backend"
	depends on DM_REBOOT_MODE
	default n
	help
		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).

endmenu