projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee85a41
)
kc1: Clear reboot mode garbage on cold reset
author
Paul Kocialkowski
<contact@paulk.fr>
Sat, 27 Feb 2016 18:19:15 +0000
(19:19 +0100)
committer
Tom Rini
<trini@konsulko.com>
Tue, 15 Mar 2016 19:12:58 +0000
(15:12 -0400)
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>
board/amazon/kc1/kc1.c
patch
|
blob
|
history
diff --git
a/board/amazon/kc1/kc1.c
b/board/amazon/kc1/kc1.c
index 54e3fa31a7a91e9aa1d45b5c9d7fc431399436a1..ca63af8be472981beb6698a8a2c4f80ca3e771fb 100644
(file)
--- 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.