projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21da6de
)
misc: tizen-inform-reboot: Add support for download mode
author
Dongwoo Lee
<dwoo08.lee@samsung.com>
Thu, 5 Apr 2018 01:57:43 +0000
(10:57 +0900)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:01 +0000
(13:09 +0900)
To pass download mode information to bootloader, this patch adds
the new parameter 'download' to reboot command.
Change-Id: I4673a0badf42429987f91edd960b871410bfb794
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
drivers/misc/tizen-inform-reboot.c
patch
|
blob
|
history
diff --git
a/drivers/misc/tizen-inform-reboot.c
b/drivers/misc/tizen-inform-reboot.c
index
08a0552
..
f724e7e
100644
(file)
--- a/
drivers/misc/tizen-inform-reboot.c
+++ b/
drivers/misc/tizen-inform-reboot.c
@@
-40,6
+40,8
@@
static int inform_reboot_notifier(struct notifier_block *nb,
cmd = "upgr";
else if (!strncmp(cmd, "recovery", 8))
cmd = "rcvr";
+ else if (!strncmp(cmd, "download", 8))
+ cmd = "dwnl";
else
cmd = "ndef";
} else