summaryrefslogtreecommitdiff
path: root/include/reboot-mode/reboot-mode.h
AgeCommit message (Collapse)AuthorFilesLines
2021-07-23reboot-mode: add support for reboot mode controlNandor Han1-0/+56
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>