projects
/
karo-tx-uboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e4e2ad
)
sniper: Power button reset support
author
Paul Kocialkowski
<contact@paulk.fr>
Mon, 20 Jul 2015 13:17:16 +0000
(15:17 +0200)
committer
Lothar Waßmann
<LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:24:13 +0000
(08:24 +0200)
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
2bfc9c5
..
97c2ed0
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();