From: Paul Kocialkowski Date: Mon, 20 Jul 2015 13:17:16 +0000 (+0200) Subject: sniper: Power button reset support X-Git-Tag: v2015.10-rc2~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=69f25415eda1f3bded57f46347021f6652776076;p=u-boot sniper: Power button reset support This adds support for resetting the device on a long press on the power button. Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini --- diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c index 2bfc9c5b4a..97c2ed0554 100644 --- 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();