diff options
author | Paul Kocialkowski | 2016-02-27 19:19:15 +0100 |
---|---|---|
committer | Tom Rini | 2016-03-15 15:12:58 -0400 |
commit | dcac8843a8904c939f70489b8dd410cde32b7df5 (patch) | |
tree | a1ac8de8f0e7315e1a7072b24a170d0738a75057 /board/amazon | |
parent | ee85a4152516daf57ce1f05b16e5f06ab4f3cf91 (diff) |
kc1: 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>
Diffstat (limited to 'board/amazon')
-rw-r--r-- | board/amazon/kc1/kc1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/amazon/kc1/kc1.c b/board/amazon/kc1/kc1.c index 54e3fa31a7a..ca63af8be47 100644 --- a/board/amazon/kc1/kc1.c +++ b/board/amazon/kc1/kc1.c @@ -110,6 +110,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. |