diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-07-20 15:17:16 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:39 -0400 |
commit | 69f25415eda1f3bded57f46347021f6652776076 (patch) | |
tree | d55ea64f810ded98af8bc60a11da444c850d6632 | |
parent | fbdd3299d2ce67aa04b62e44038dd355af349b7e (diff) | |
download | u-boot-imx-69f25415eda1f3bded57f46347021f6652776076.zip u-boot-imx-69f25415eda1f3bded57f46347021f6652776076.tar.gz u-boot-imx-69f25415eda1f3bded57f46347021f6652776076.tar.bz2 |
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 <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/lge/sniper/sniper.c | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |