Commit d9c63d9
ccgx: enable watchdog in u-boot
Set the watchdog timeout to 60 seconds and start the timer from the
preboot sequence.
The watchdog registers require a delay after writing. Interleaving
the writes with other operations provides this without an explicit
sleep, which would unnecessarily delay the bootup.
closes victronenergy/venus#74
(cherry picked from commit a04fe6a)1 parent b2b1478 commit d9c63d9
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
0 commit comments