Skip to content
Snippets Groups Projects
Commit 2541ce2c authored by Nandor Han's avatar Nandor Han Committed by Tom Rini
Browse files

reboot-mode: add support for reboot mode control


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: default avatarNandor Han <nandor.han@vaisala.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent f534d93c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment