diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2023-11-01 20:51:38 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2023-11-06 10:27:40 +0900 |
commit | 630757091ef71bf35f2827f466533e7b1410a551 (patch) | |
tree | 9216f7a2d58ecd7b3dad70edb699e2cb7c1bba1e | |
parent | 334ea44802f5f3dab0450248887283d8fef1749d (diff) | |
download | u-boot-630757091ef71bf35f2827f466533e7b1410a551.tar.gz u-boot-630757091ef71bf35f2827f466533e7b1410a551.tar.bz2 u-boot-630757091ef71bf35f2827f466533e7b1410a551.zip |
cmd: meson: sm: Add a reboot reason for Tizen
sm command is moved from arch/arm/mach-meson/sm.c to cmd/meson/sm.c
Add a reboot reason for Tizen.
- fota / download
Change-Id: I434b282f70c7132fe835426341a47cf507d923cf
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | cmd/meson/sm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/meson/sm.c b/cmd/meson/sm.c index de9a242e17..5006c7d912 100644 --- a/cmd/meson/sm.c +++ b/cmd/meson/sm.c @@ -39,8 +39,13 @@ static const char *reboot_reasons[MAX_REBOOT_REASONS] = { [REBOOT_REASON_COLD] = "cold_boot", [REBOOT_REASON_NORMAL] = "normal", [REBOOT_REASON_RECOVERY] = "recovery", +#ifdef CONFIG_TIZEN + [REBOOT_REASON_UPDATE] = "fota", + [REBOOT_REASON_FASTBOOT] = "download", +#else [REBOOT_REASON_UPDATE] = "update", [REBOOT_REASON_FASTBOOT] = "fastboot", +#endif [REBOOT_REASON_SUSPEND_OFF] = "suspend_off", [REBOOT_REASON_HIBERNATE] = "hibernate", [REBOOT_REASON_BOOTLOADER] = "bootloader", |