diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:26:44 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:10:50 -0400 |
commit | 6add08e97a012b47e904ec0f3d3363739fbe2555 (patch) | |
tree | 4a43588fe68cd020f14b37567fd812a478c91847 | |
parent | 8e643d748e313b22da145101baaa9fa123455722 (diff) | |
download | u-boot-imx-6add08e97a012b47e904ec0f3d3363739fbe2555.zip u-boot-imx-6add08e97a012b47e904ec0f3d3363739fbe2555.tar.gz u-boot-imx-6add08e97a012b47e904ec0f3d3363739fbe2555.tar.bz2 |
sniper: Clear reboot mode garbage on cold reset
Reboot mode garbage is found on cold reset and might be seen as valid on the
next warm reset, thus it has to be cleared on cold reset.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/lge/sniper/sniper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c index 6726866..29a7045 100644 --- a/board/lge/sniper/sniper.c +++ b/board/lge/sniper/sniper.c @@ -122,6 +122,9 @@ int misc_init_r(void) omap_reboot_mode_clear(); } else { + /* Reboot mode garbage may still be valid, so clear it. */ + omap_reboot_mode_clear(); + /* * When not rebooting, valid power on reasons are either the * power button, charger plug or USB plug. |