Commit be36c9c
committed
Add "no-reset" DT property to optionally avoid resetting the SEC
In cases where the SHARC cores absolutely must be booted before
ARM Linux, applications utilizing ADI's SHARC FreeRTOS image
will crash if the SEC is reset due to using the SEC for the
rescheduler interrupt. This is due to a silicon anomaly that
prevents utilizing SHARC core-level interrupts instead of the SEC.
Therefore, an optional DT property is added to the SEC driver which
allows NOT resetting the SEC in the event that an RTOS-based
application is running prior to ARM Linux booting.
- Add boolean "no-reset" property to DT bindings for ADI SEC driver
- Add condition check to NOT reset the SEC if "no-reset" is set in DT
Signed-off-by: Brandon Hurst <brandon.hurst97@gmail.com>1 parent 22c9d49 commit be36c9c
2 files changed
Lines changed: 21 additions & 15 deletions
File tree
- Documentation/devicetree/bindings/soc/adi
- drivers/soc/adi/mach-sc5xx
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | | - | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
0 commit comments