commit | 2541ce2c1af87f74a9feb35a1cbfc20ff8d04e4b | [log] [tgz] |
---|---|---|
author | Nandor Han <nandor.han@vaisala.com> | Thu Jun 10 16:56:43 2021 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 23 10:16:39 2021 -0400 |
tree | 916abd832f987163a13630c9442fc3857f9aeb8f | |
parent | f534d93cbf34f1d1762b04eb5680e84bef5e1fe1 [diff] |
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: Nandor Han <nandor.han@vaisala.com> Reviewed-by: Simon Glass <sjg@chromium.org>