mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 18:28:55 +00:00
2541ce2c1a
A new driver uclass is created to handle the reboot mode control. The new uclass driver is updating an environment variable with the configured reboot mode. The mode is extracted from a map provided at initialization time. The map contains a list of modes and associated ids. Signed-off-by: Nandor Han <nandor.han@vaisala.com> Reviewed-by: Simon Glass <sjg@chromium.org>
18 lines
353 B
Text
18 lines
353 B
Text
#
|
|
# 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.
|
|
|
|
endmenu
|