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

index 2bfc9c5..97c2ed0 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();