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:
fbdd329
)
sniper: Power button reset support
author
Paul Kocialkowski
<contact@paulk.fr>
Mon, 20 Jul 2015 13:17:16 +0000
(15:17 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 13 Aug 2015 00:47:39 +0000
(20:47 -0400)
This adds support for resetting the device on a long press on the power button.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/lge/sniper/sniper.c
patch
|
blob
|
history
diff --git
a/board/lge/sniper/sniper.c
b/board/lge/sniper/sniper.c
index 2bfc9c5b4a2c30cfe11056f9422a9a8a3ef9734b..97c2ed05548b86431886fa782e848e670cd3d04d 100644
(file)
--- a/
board/lge/sniper/sniper.c
+++ b/
board/lge/sniper/sniper.c
@@
-95,6
+95,10
@@
int misc_init_r(void)
char reboot_mode[2] = { 0 };
u32 dieid[4] = { 0 };
+ /* Power button reset init */
+
+ twl4030_power_reset_init();
+
/* Reboot mode */
reboot_mode[0] = omap_reboot_mode();