This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Commit 6694d9a
Fix race condition in boot-cypress
I have tested the following boot-cypress writing eeprom,
while executing the following in the background:
`while true; do lsusb -v -d 04b4:8613 > /dev/null; done`
With the old version of boot-cypress this results in
corrupted data.
With the new version of boot-cypress this works correctly.1 parent 25a3951 commit 6694d9a
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments