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:
be3d65f
)
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
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 07:09:31 +0000
(16: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