]> git.sur5r.net Git - u-boot/blobdiff - board/amazon/kc1/kc1.c
stm32: stm32f4: move flash driver to mtd driver location
[u-boot] / board / amazon / kc1 / kc1.c
index 54e3fa31a7a91e9aa1d45b5c9d7fc431399436a1..ca63af8be472981beb6698a8a2c4f80ca3e771fb 100644 (file)
@@ -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.