commit | 385309c72ed8d7043e5fd238df3f83d871f3398d | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Tue Aug 06 17:28:36 2019 +0200 |
committer | Neil Armstrong <narmstrong@baylibre.com> | Mon Aug 12 10:02:30 2019 +0200 |
tree | 0d8532edf96c9cd03ba934fc0d377af1f823bab5 | |
parent | 69800ec232817d80ac706f26a89112dec0c4954d [diff] |
arm: meson: add sm command to retrieve the reboot reason The Secure Monitor offers multiple services, like returning the SoC unique serial number, and can provide the "reboot reason" as set by the previous booted system. This extends the Amlogic specific "sm" cmd with a "reboot_reason" subcommand to print or set a specified environment variable with the reboot reason in human readable format. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>