projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334ea44
)
cmd: meson: sm: Add a reboot reason for Tizen
40/300740/2
author
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 1 Nov 2023 11:51:38 +0000
(20:51 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 6 Nov 2023 01:27:40 +0000
(10:27 +0900)
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>
cmd/meson/sm.c
patch
|
blob
|
history
diff --git
a/cmd/meson/sm.c
b/cmd/meson/sm.c
index
de9a242
..
5006c7d
100644
(file)
--- 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",