Commit 6add08e9 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Tom Rini

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: default avatarPaul Kocialkowski <contact@paulk.fr>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 8e643d74
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment