Skip to content
Commit b1dd7deb authored by Neil Armstrong's avatar Neil Armstrong
Browse files

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: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent 559e6256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment