mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
ee85a41525
commit
dcac8843a8
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue