Re: [U-Boot] [PATCH 10/12] sniper: Power button reset support
On Mon, Jul 20, 2015 at 03:17:16PM +0200, Paul Kocialkowski wrote: This adds support for resetting the device on a long press on the power button. Signed-off-by: Paul Kocialkowski cont...@paulk.fr Reviewed-by: Tom Rini tr...@konsulko.com -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 10/12] 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 cont...@paulk.fr --- board/lge/sniper/sniper.c | 4 1 file changed, 4 insertions(+) diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c index 2bfc9c5..97c2ed0 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(); -- 1.9.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot