projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a195b0
)
db410c: automatically launch fastboot
author
Ramon Fried
<ramon.fried@gmail.com>
Fri, 21 Sep 2018 10:35:55 +0000
(13:35 +0300)
committer
Tom Rini
<trini@konsulko.com>
Sun, 30 Sep 2018 17:00:37 +0000
(13:00 -0400)
If during boot the key-vol-down press is detected
we'll fall back to fastboot.
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
board/qualcomm/dragonboard410c/dragonboard410c.c
patch
|
blob
|
history
diff --git
a/board/qualcomm/dragonboard410c/dragonboard410c.c
b/board/qualcomm/dragonboard410c/dragonboard410c.c
index b2a72bce38eb5355846352bb5d4e41a9668ffd70..9ceed3ad9b05f27620ca168172e61e459e056a90 100644
(file)
--- a/
board/qualcomm/dragonboard410c/dragonboard410c.c
+++ b/
board/qualcomm/dragonboard410c/dragonboard410c.c
@@
-140,7
+140,8
@@
int misc_init_r(void)
if (dm_gpio_get_value(&resin)) {
env_set("bootdelay", "-1");
- printf("Power button pressed - dropping to console.\n");
+ env_set("bootcmd", "fastboot 0");
+ printf("key_vol_down pressed - Starting fastboot.\n");
}
return 0;