sniper: Power button reset support
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 20 Jul 2015 13:17:16 +0000 (15:17 +0200)
committerTom 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

index 2bfc9c5b4a2c30cfe11056f9422a9a8a3ef9734b..97c2ed05548b86431886fa782e848e670cd3d04d 100644 (file)
@@ -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();