diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:19:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:12:58 -0400 |
commit | dcac8843a8904c939f70489b8dd410cde32b7df5 (patch) | |
tree | a1ac8de8f0e7315e1a7072b24a170d0738a75057 /board | |
parent | ee85a4152516daf57ce1f05b16e5f06ab4f3cf91 (diff) | |
download | u-boot-imx-dcac8843a8904c939f70489b8dd410cde32b7df5.zip u-boot-imx-dcac8843a8904c939f70489b8dd410cde32b7df5.tar.gz u-boot-imx-dcac8843a8904c939f70489b8dd410cde32b7df5.tar.bz2 |
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')
-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 54e3fa3..ca63af8 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. |